@Immutable public class TypeSafeHashMap extends Object implements TypeSafeMap, Serializable
Constructor and Description |
---|
TypeSafeHashMap(Map<Key<?>,Object> map) |
Modifier and Type | Method and Description |
---|---|
Map<Key<?>,Object> |
asMap() |
boolean |
containsKey(Key<?> key) |
<T> T |
get(Key<T> key) |
Set<Key<?>> |
getKeys() |
int |
getSize() |
Iterator<Object> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
@Nonnull public <T> T get(@Nonnull Key<T> key) throws NotFoundException
get
in interface TypeSafeMap
NotFoundException
public boolean containsKey(@Nonnull Key<?> key)
containsKey
in interface TypeSafeMap
@Nonnull public Set<Key<?>> getKeys()
getKeys
in interface TypeSafeMap
@Nonnegative public int getSize()
getSize
in interface TypeSafeMap
Copyright © 2009–2015 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.