public static enum ArExpression.Operator extends Enum<ArExpression.Operator>
Enum Constant and Description |
---|
ABS
absolute operator
|
ADD
addition operator
|
DIV
division operator
|
MAX
max operator
|
MIN
min operator
|
MOD
modulo operator
|
MUL
multiplication operator
|
NEG
negation operator
|
POW
power operator
|
SQR
square operator
|
SUB
subtraction operator
|
Modifier and Type | Method and Description |
---|---|
static ArExpression.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArExpression.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArExpression.Operator NEG
public static final ArExpression.Operator ABS
public static final ArExpression.Operator ADD
public static final ArExpression.Operator SUB
public static final ArExpression.Operator MUL
public static final ArExpression.Operator DIV
public static final ArExpression.Operator MOD
public static final ArExpression.Operator SQR
public static final ArExpression.Operator POW
public static final ArExpression.Operator MIN
public static final ArExpression.Operator MAX
public static ArExpression.Operator[] values()
for (ArExpression.Operator c : ArExpression.Operator.values()) System.out.println(c);
public static ArExpression.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 nullCopyright © 2017. All rights reserved.