Mega Code Archive

 
Categories / Java Book / 008 Reflection
 

0420 Get enum constants for a Enum

T[] getEnumConstants() Returns the elements of this enum class or null if this Class object does not represent an enum type.