public enum ComparisonOperator extends Enum<ComparisonOperator>
Type safe enum for comparison operators equals, less than etc.
Modifier and Type | Method and Description |
---|---|
static ComparisonOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonOperator EQ
public static final ComparisonOperator LT
public static final ComparisonOperator GT
public static final ComparisonOperator LTE
public static final ComparisonOperator GTE
public static ComparisonOperator[] values()
for (ComparisonOperator c : ComparisonOperator.values()) System.out.println(c);
public static ComparisonOperator 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 © 2015. All rights reserved.