public static enum RangeMenu.RangeItem extends Enum<RangeMenu.RangeItem>
Enum Constant and Description |
---|
EQUAL |
GREATERTHAN |
LESSTHAN |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static RangeMenu.RangeItem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeMenu.RangeItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeMenu.RangeItem EQUAL
public static final RangeMenu.RangeItem GREATERTHAN
public static final RangeMenu.RangeItem LESSTHAN
public static RangeMenu.RangeItem[] values()
for (RangeMenu.RangeItem c : RangeMenu.RangeItem.values()) System.out.println(c);
public static RangeMenu.RangeItem 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 String getKey()
Copyright © 2018. All rights reserved.