public class TypedMapHierarchy<V> extends java.lang.Object implements TypedMap<V>
TypedMap
that is identical to TypedMapDirect
, except that children of the specified class are also
returned.get(Class)
will return either null or a value which returns true when passed in to the
argument class's method Class.isInstance(Object)
.Constructor and Description |
---|
TypedMapHierarchy() |
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) |