@Immutable public class TypeSafeHashMap extends Object implements TypeSafeMap, Serializable
Constructor and Description |
---|
TypeSafeHashMap(Map<Key<?>,Object> map) |
@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
@Nonnull public Map<Key<?>,Object> asMap()
asMap
in interface TypeSafeMap
Copyright © 2009-2013 Tidalwave s.a.s. (http://tidalwave.it). All Rights Reserved.