Modifier and Type | Method and Description |
---|---|
static <T extends IsLocaleItem> |
getItemsByName(T[] enumValues,
String name)
Returns an unmodifiable list of items which are matching with the name passed as argument.
|
String |
getName()
Returns the name of the locale item.
|
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid, value
static <T extends IsLocaleItem> List<T> getItemsByName(T[] enumValues, String name)
T
- type of locale tagenumValues
- enumeration values of the locale tag-name
- name to search in the object name and valueString getName()