public static enum Range.RangeType extends Enum<Range.RangeType>
Enum Constant and Description |
---|
CLIENT |
DATA_CENTER |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Range.RangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Range.RangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Range.RangeType DATA_CENTER
public static final Range.RangeType CLIENT
public static Range.RangeType[] values()
for (Range.RangeType c : Range.RangeType.values()) System.out.println(c);
public static Range.RangeType 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 nullpublic int getValue()