public interface IsKey<K> extends CategoryIs, CategoryWithValue, HasDescription
comparator| Modifier and Type | Method and Description |
|---|---|
K |
_value()
Returns the value of an IS category.
|
static <K> IsKey<K> |
create()
Returns a new generic
IsKey object with a default preset key (immutable). |
static <K> IsKey<K> |
create(K key)
Returns a new generic
IsKey object with a pre-set key and default description (immutable). |
static <K> IsKey<K> |
create(K key,
String description)
Returns a new generic
IsKey object with a preset key (immutable). |
default K |
key()
Returns the key
|
getDescriptionCAT_TO_VALUE, CAT_TO_VALUESTRING, GET_VALUE, GET_VALUESTRING, toLogdefault K key()
K _value()
CategoryWithValue_value in interface CategoryWithValuestatic <K> IsKey<K> create(K key, String description)
IsKey object with a preset key (immutable).K - type of the key valuekey - the object's keydescription - a description for the new keyIsKey object with a set keystatic <K> IsKey<K> create(K key)
IsKey object with a pre-set key and default description (immutable).K - type of the key valuekey - the object's keyIsKey object with a set keyCopyright © 2010–2015. All rights reserved.