public enum ComparisonOperator extends Enum<ComparisonOperator>
Used to combine two operands to a Predicate
.
Enum Constant and Description |
---|
EQ
The equality (
= ) operator. |
GT
The "greater than" (
> ) operator. |
GTE
The "greater than or equal" (
>= ) operator. |
LIKE
The
LIKE operator. |
LT
The "less than" (
< ) operator. |
LTE
The "less than or equal" (
<=< ) operator. |
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
The equality (=
) operator.
public static final ComparisonOperator LIKE
The LIKE
operator.
public static final ComparisonOperator LT
The "less than" (<
) operator.
public static final ComparisonOperator LTE
The "less than or equal" (<=<
) operator.
public static final ComparisonOperator GT
The "greater than" (>
) operator.
public static final ComparisonOperator GTE
The "greater than or equal" (>=
) operator.
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 © 2010 - 2019 edorasware ag. All Rights Reserved.