|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EqualityExpr.Operator>
org.overlord.sramp.common.query.xpath.ast.EqualityExpr.Operator
public static enum EqualityExpr.Operator
Models the comparison expression's operator.
| Enum Constant Summary | |
|---|---|
EQ
|
|
GT
|
|
GTE
|
|
LT
|
|
LTE
|
|
NE
|
|
| Method Summary | |
|---|---|
String |
symbol()
Gets the symbol; |
static EqualityExpr.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EqualityExpr.Operator |
valueOfSymbol(String symbol)
Looks up the proper EqualityExpr.Operator from a symbol. |
static EqualityExpr.Operator[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EqualityExpr.Operator EQ
public static final EqualityExpr.Operator NE
public static final EqualityExpr.Operator LT
public static final EqualityExpr.Operator GT
public static final EqualityExpr.Operator LTE
public static final EqualityExpr.Operator GTE
| Method Detail |
|---|
public static EqualityExpr.Operator[] values()
for (EqualityExpr.Operator c : EqualityExpr.Operator.values()) System.out.println(c);
public static EqualityExpr.Operator valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String symbol()
public static EqualityExpr.Operator valueOfSymbol(String symbol)
EqualityExpr.Operator from a symbol.
symbol - the symbol (e.g. =, !=, >, etc)
EqualityExpr.Operator or null if not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||