| Modifier and Type | Method and Description |
|---|---|
T |
getDefault() |
Class |
getEnumClazz() |
T |
getItem(String id) |
T |
getItemOrDefault(String id) |
T[] |
getItems() |
T |
getMax() |
T |
getMin() |
void |
sort()
Sort the items in ascending label order.
|
void |
sort(Comparator<EnumItem> c)
Sort the items using the given Comparator.
|
public EnumMeta(Class enumClazz)
public T getDefault()
public Class getEnumClazz()
public T[] getItems()
public T getMax()
public T getMin()
public void sort()
public void sort(Comparator<EnumItem> c)
c - Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.