Landon Kuhn Landon Kuhn - 1 year ago 67
Java Question

Java Enums: List enumerated values from a Class<? extends Enum>

I've got the class object for an enum (I have a

Class<? extends Enum>
) and I need to get a list of the enumerated values represented by this enum. The
static function has what I need, but I'm not sure how to get access to it from the class object.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download