public class TypedMapDirect<V> extends java.lang.Object implements TypedMap<V>
TypedMap
instance that only maps classes directly to the classes - that is get(Class)
will
return either null, or an object whose Object.getClass()
equals the argument class.Constructor and Description |
---|
TypedMapDirect() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
<T extends V> |
get(java.lang.Class<T> clazz) |
void |
put(V value) |
void |
remove(V value) |
@Nullable public <T extends V> T get(java.lang.Class<T> clazz)