public enum Comparison extends java.lang.Enum<Comparison>
Enum Constant and Description |
---|
EQ
Equal
|
GT
Greater than
|
GTE
Greater than or equal to
|
LT
Less than
|
LTE
Less than or equal to
|
NEQ
Not equal
|
Modifier and Type | Method and Description |
---|---|
static Comparison |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Comparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparison EQ
public static final Comparison NEQ
public static final Comparison LT
public static final Comparison LTE
public static final Comparison GT
public static final Comparison GTE
public static Comparison[] values()
for (Comparison c : Comparison.values()) System.out.println(c);
public static Comparison valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null