public abstract static class AttributeMap.Key<T> extends Object
AttributeMap. For
 example, a ClientOption<T> may extend this to define options that can be stored in an AttributeMap.| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
AttributeMap.Key.UnsafeValueType
Useful for parameterized types. 
 | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
Key(AttributeMap.Key.UnsafeValueType unsafeValueType)  | 
protected  | 
Key(Class<T> valueType)  | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
convertValue(Object value)
Validate the provided value is of the correct type and convert it to the proper type for this option. 
 | 
protected Key(AttributeMap.Key.UnsafeValueType unsafeValueType)
Copyright © 2021. All rights reserved.