public class AttributeSupport extends java.lang.Object implements Attributeable
ALSO_IMPORT, INIT, INIT_FUNCTION, LAZY_INIT| Constructor and Description |
|---|
AttributeSupport(java.util.Map<AttributeKey,java.lang.Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttribute(AttributeKey<T> key) |
java.util.Map<AttributeKey,java.lang.Object> |
getAttributes() |
<T> boolean |
hasAttribute(AttributeKey<T> key) |
public AttributeSupport(java.util.Map<AttributeKey,java.lang.Object> attributes)
public java.util.Map<AttributeKey,java.lang.Object> getAttributes()
getAttributes in interface Attributeablepublic <T> T getAttribute(AttributeKey<T> key)
getAttribute in interface Attributeablepublic <T> boolean hasAttribute(AttributeKey<T> key)
hasAttribute in interface AttributeableCopyright © 2018. All Rights Reserved.