Package io.dialob.program.expr
Enum OperatorSymbol
- java.lang.Object
-
- java.lang.Enum<OperatorSymbol>
-
- io.dialob.program.expr.OperatorSymbol
-
- All Implemented Interfaces:
Serializable,Comparable<OperatorSymbol>
public enum OperatorSymbol extends Enum<OperatorSymbol>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisNot()static OperatorSymbolmapOp(String op)static OperatorSymbolvalueOf(String name)Returns the enum constant of this type with the specified name.static OperatorSymbol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLUS
public static final OperatorSymbol PLUS
-
MINUS
public static final OperatorSymbol MINUS
-
MULT
public static final OperatorSymbol MULT
-
DIV
public static final OperatorSymbol DIV
-
NEG
public static final OperatorSymbol NEG
-
NOT
public static final OperatorSymbol NOT
-
AND
public static final OperatorSymbol AND
-
OR
public static final OperatorSymbol OR
-
NE
public static final OperatorSymbol NE
-
EQ
public static final OperatorSymbol EQ
-
LT
public static final OperatorSymbol LT
-
LE
public static final OperatorSymbol LE
-
GE
public static final OperatorSymbol GE
-
GT
public static final OperatorSymbol GT
-
NOT_IN
public static final OperatorSymbol NOT_IN
-
IN
public static final OperatorSymbol IN
-
NOT_MATCHES
public static final OperatorSymbol NOT_MATCHES
-
MATCHES
public static final OperatorSymbol MATCHES
-
NOT_ANSWERED
public static final OperatorSymbol NOT_ANSWERED
-
ANSWERED
public static final OperatorSymbol ANSWERED
-
NOT_BLANK
public static final OperatorSymbol NOT_BLANK
-
BLANK
public static final OperatorSymbol BLANK
-
NOT_NULL
public static final OperatorSymbol NOT_NULL
-
NULL
public static final OperatorSymbol NULL
-
COUNT
public static final OperatorSymbol COUNT
-
NOT_VALID
public static final OperatorSymbol NOT_VALID
-
VALID
public static final OperatorSymbol VALID
-
SUM
public static final OperatorSymbol SUM
-
MIN
public static final OperatorSymbol MIN
-
MAX
public static final OperatorSymbol MAX
-
ALL
public static final OperatorSymbol ALL
-
ANY
public static final OperatorSymbol ANY
-
-
Method Detail
-
values
public static OperatorSymbol[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperatorSymbol c : OperatorSymbol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperatorSymbol valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
mapOp
@Nullable public static OperatorSymbol mapOp(String op)
-
isNot
public boolean isNot()
-
-