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) |
<T extends V> |
put(T value) |
<T extends V> |
remove(T value) |