Constructor and Description |
---|
Enums() |
Modifier and Type | Method and Description |
---|---|
static String[] |
getEnumNames(Class<? extends Enum<?>> enumclass)
This static method returns an array of all constant names (strings)
for a given enumeration class.
|
public Enums()
public static String[] getEnumNames(Class<? extends Enum<?>> enumclass)
enumclass
- enumeration classCopyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)