Package org.pepstock.charba.client.intl
Interface IsLocaleItem
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T extends IsLocaleItem>
List<T>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.
-
-
-
Method Detail
-
getItemsByName
static <T extends IsLocaleItem> List<T> getItemsByName(T[] enumValues, String name)
Returns an unmodifiable list of items which are matching with the name passed as argument.- Type Parameters:
T
- type of locale tag- Parameters:
enumValues
- enumeration values of the locale tag-name
- name to search in the object name and value- Returns:
- an unmodifiable list of items which are matching with the name passed as argument
-
getName
String getName()
Returns the name of the locale item.- Returns:
- the name of the locale item
-
-