public enum ReturnType extends Enum<ReturnType>
| Enum Constant and Description |
|---|
OCCURRENCE |
PRODUCT |
TAXON |
| Modifier and Type | Method and Description |
|---|---|
static ReturnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnType PRODUCT
public static final ReturnType TAXON
public static final ReturnType OCCURRENCE
public static ReturnType[] values()
for (ReturnType c : ReturnType.values()) System.out.println(c);
public static ReturnType 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 nullCopyright © 2020. All Rights Reserved.