public class ENUM extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E extends Enum<E>> |
toList(Class<E> enumType)
This method returns a list witch contains all not
Deprecated annotated entries off the given enum. |
public static <E extends Enum<E>> List<E> toList(Class<E> enumType) throws NoSuchFieldException
Deprecated annotated entries off the given enum. This
is useful when you use the enum in UI lists like ComboBox and you don't like to
display the deprecated values.E - Generic typeenumType - Enum class to put in listNoSuchFieldException - some errors what could excepted during annotation checkCopyright © 2018. All rights reserved.