Class AttributeMap.Key<T>

  • Enclosing class:
    AttributeMap

    public abstract static class AttributeMap.Key<T>
    extends Object
    An abstract class extended by pseudo-enums defining the key for data that is stored in the AttributeMap. For example, a ClientOption<T> may extend this to define options that can be stored in an AttributeMap.
    • Method Detail

      • convertValue

        public final T convertValue​(Object value)
        Validate the provided value is of the correct type and convert it to the proper type for this option.