Package org.kiwiproject.beta.base
Class KiwiEnums2
java.lang.Object
org.kiwiproject.beta.base.KiwiEnums2
-
Method Summary
-
Method Details
-
entries
Return the constants in the given enum class as a list.- Type Parameters:
E- the type in the enum- Parameters:
enumClass- the enum class- Returns:
- an unmodifiable list containing the enum constants
- Throws:
IllegalArgumentException- if the given class is not an enum
-