public class TypedObjectAttributeMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class<?>,AttributeMap<?>> |
typedAttributeMaps |
Constructor and Description |
---|
TypedObjectAttributeMap() |
Modifier and Type | Method and Description |
---|---|
private <T> AttributeMap<T> |
createAndGetTypedMapIfMissing(java.lang.Class<T> t) |
<T> java.util.Set<java.util.Map.Entry<AttributeKey,T>> |
getAllAttributes(java.lang.Class<T> valueType) |
java.util.Set<java.lang.Class<?>> |
getAttributeTypes() |
<T> T |
getTyped(java.lang.Class<T> t,
AttributeKey key) |
private <T> AttributeMap<T> |
getTypedAttributeMap(java.lang.Class<T> t) |
<T> T |
putTyped(AttributeKey key,
T t) |
<T> T |
putTyped(AttributeMapEntry<AttributeKey,T> entry) |
java.lang.String |
toString() |
private java.util.Map<java.lang.Class<?>,AttributeMap<?>> typedAttributeMaps
@Nullable public <T> T getTyped(java.lang.Class<T> t, AttributeKey key)
public <T> T putTyped(AttributeMapEntry<AttributeKey,T> entry)
public <T> T putTyped(AttributeKey key, T t)
private <T> AttributeMap<T> createAndGetTypedMapIfMissing(java.lang.Class<T> t)
public java.util.Set<java.lang.Class<?>> getAttributeTypes()
public <T> java.util.Set<java.util.Map.Entry<AttributeKey,T>> getAllAttributes(java.lang.Class<T> valueType)
private <T> AttributeMap<T> getTypedAttributeMap(java.lang.Class<T> t)
public java.lang.String toString()
toString
in class java.lang.Object