public static enum EqualityExpr.Operator extends Enum<EqualityExpr.Operator>
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- 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 foundCopyright © 2011–2015 JBoss, a division of Red Hat. All rights reserved.