Package it.tidalwave.util
Interface TypeSafeMap
-
- All Known Implementing Classes:
TypeSafeHashMap
public interface TypeSafeMap extends Iterable<Object>
- Version:
- $Id$
- Author:
- Fabrizio Giudici
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Key<?>,Object>asMap()booleancontainsKey(Key<?> key)<T> Tget(Key<T> key)Set<Key<?>>getKeys()intgetSize()-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
get
@Nonnull <T> T get(@Nonnull Key<T> key) throws NotFoundException
- Throws:
NotFoundException
-
getSize
@Nonnegative int getSize()
-
-