public enum Comparison extends Enum<Comparison>
ComparisonExpression.| Enum Constant and Description |
|---|
EQUAL
Equal to : "==" or "="
|
GREATER_EQUAL
Greater than or equal to: "=ge=" or ">="
|
GREATER_THAN
Greater than operator : "=gt=" or ">"
|
LESS_EQUAL
Less than or equal to : "=le=" or "<="
|
LESS_THAN
Less than : "=lt=" or "<"
|
NOT_EQUAL
Not equal to : "!="
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
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 EQUAL
public static final Comparison NOT_EQUAL
public static final Comparison GREATER_THAN
public static final Comparison GREATER_EQUAL
public static final Comparison LESS_THAN
public static final Comparison LESS_EQUAL
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 nullpublic String toString()
toString in class Enum<Comparison>Copyright © 2011–2014. All rights reserved.