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) |
<T extends V> |
put(T value) |
<T extends V> |
remove(T value) |
@Nullable public <T extends V> T get(java.lang.Class<T> clazz)