Package org.dellroad.stuff.java
Class EnumUtil
java.lang.Object
org.dellroad.stuff.java.EnumUtil
Utility methods for
Enum
s.-
Method Summary
-
Method Details
-
getValues
Get all instances of the givenEnum
class in a list in their natural ordering.- Type Parameters:
T
- enum type- Parameters:
enumClass
- enum type class object- Returns:
- unmodifiable list of enum values
-