public enum Comparison extends Enum<Comparison>
| Enum Constant and Description |
|---|
EGT
Enum for "greater than or equal to" or ">="
|
ELT
Enum for "equal to or less than" or "<="
|
EQU
Enum for "equal to" or "="
|
GT
Enum for "greater than" or ">"
|
LT
Enum for "less than" or "<"
|
| Modifier and Type | Method and Description |
|---|---|
static Comparison |
valueOf(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 GT
public static final Comparison EGT
public static final Comparison EQU
public static final Comparison ELT
public static final Comparison LT
public static Comparison[] values()
for (Comparison c : Comparison.values()) System.out.println(c);
public static Comparison 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 © 2013. All Rights Reserved.