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