public enum UseType extends Enum<UseType>
Enum Constant and Description |
---|
COMMERCIAL_USE |
NONPROFIT_USE |
RESEARCH_USE |
Modifier and Type | Method and Description |
---|---|
static UseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UseType NONPROFIT_USE
public static final UseType RESEARCH_USE
public static final UseType COMMERCIAL_USE
public static UseType[] values()
for (UseType c : UseType.values()) System.out.println(c);
public static UseType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null