Package de.bsvrz.pua.prot.util
Enum ExpressionTree.Operation
- java.lang.Object
-
- java.lang.Enum<ExpressionTree.Operation>
-
- de.bsvrz.pua.prot.util.ExpressionTree.Operation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExpressionTree.Operation>
,java.lang.constant.Constable
- Enclosing class:
- ExpressionTree
public static enum ExpressionTree.Operation extends java.lang.Enum<ExpressionTree.Operation>
Im Ausdruck mögliche Operationen.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description add
Plusand
Undconc
String Konkatenationdiv
DivisiondivInt
Integer Divisionequal
Gleichgreater
GrößergreaterEqual
Größer gleichinvalid
Ungültige Operationless
KleinerlessEqual
Kleiner gleichmodulo
Modulamult
Multiplikationneg
Negationnot
NotnotEqual
Ungleichor
Odersubtract
Minus
-
Method Summary
Modifier and Type Method Description java.lang.String
getSymbol()
boolean
isBinary()
static ExpressionTree.Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExpressionTree.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
neg
public static final ExpressionTree.Operation neg
Negation
-
not
public static final ExpressionTree.Operation not
Not
-
mult
public static final ExpressionTree.Operation mult
Multiplikation
-
div
public static final ExpressionTree.Operation div
Division
-
divInt
public static final ExpressionTree.Operation divInt
Integer Division
-
modulo
public static final ExpressionTree.Operation modulo
Modula
-
add
public static final ExpressionTree.Operation add
Plus
-
subtract
public static final ExpressionTree.Operation subtract
Minus
-
conc
public static final ExpressionTree.Operation conc
String Konkatenation
-
less
public static final ExpressionTree.Operation less
Kleiner
-
lessEqual
public static final ExpressionTree.Operation lessEqual
Kleiner gleich
-
greater
public static final ExpressionTree.Operation greater
Größer
-
greaterEqual
public static final ExpressionTree.Operation greaterEqual
Größer gleich
-
equal
public static final ExpressionTree.Operation equal
Gleich
-
notEqual
public static final ExpressionTree.Operation notEqual
Ungleich
-
and
public static final ExpressionTree.Operation and
Und
-
or
public static final ExpressionTree.Operation or
Oder
-
invalid
public static final ExpressionTree.Operation invalid
Ungültige Operation
-
-
Method Detail
-
values
public static ExpressionTree.Operation[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpressionTree.Operation valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isBinary
public boolean isBinary()
-
getSymbol
public java.lang.String getSymbol()
-
-