Uses of Class
cn.sliew.milky.common.constant.AttributeKey
-
Packages that use AttributeKey Package Description cn.sliew.milky.common.constant -
-
Uses of AttributeKey in cn.sliew.milky.common.constant
Methods in cn.sliew.milky.common.constant that return AttributeKey Modifier and Type Method Description AttributeKey<T>Attribute. key()Returns the key of this attribute.static <T> AttributeKey<T>AttributeKey. newInstance(String name)Creates a newAttributeKeyfor the givennameor fail with anIllegalArgumentExceptionif aAttributeKeyfor the givennameexists.static <T> AttributeKey<T>AttributeKey. valueOf(Class<?> firstNameComponent, String secondNameComponent)static <T> AttributeKey<T>AttributeKey. valueOf(String name)Returns the singleton instance of theAttributeKeywhich has the specifiedname.Methods in cn.sliew.milky.common.constant with parameters of type AttributeKey Modifier and Type Method Description <T> Attribute<T>AttributeMap. attr(AttributeKey<T> key)Get theAttributefor the givenAttributeKey.<T> Attribute<T>DefaultAttributeMap. attr(AttributeKey<T> key)<T> booleanAttributeMap. hasAttr(AttributeKey<T> key)<T> booleanDefaultAttributeMap. hasAttr(AttributeKey<T> key)
-