public static enum DynamicExpression.UnaryExpression.UnaryOperator extends Enum<DynamicExpression.UnaryExpression.UnaryOperator>
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
evalBoolean(boolean val) |
abstract double |
evalDouble(double val) |
abstract float |
evalFloat(float val) |
abstract int |
evalInt(int val) |
abstract long |
evalLong(long val) |
abstract DynamicExpression.Type |
validateType(DynamicExpression operand) |
static DynamicExpression.UnaryExpression.UnaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamicExpression.UnaryExpression.UnaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamicExpression.UnaryExpression.UnaryOperator MINUS
public static final DynamicExpression.UnaryExpression.UnaryOperator NOT
public static DynamicExpression.UnaryExpression.UnaryOperator[] values()
for (DynamicExpression.UnaryExpression.UnaryOperator c : DynamicExpression.UnaryExpression.UnaryOperator.values()) System.out.println(c);
public static DynamicExpression.UnaryExpression.UnaryOperator 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 abstract DynamicExpression.Type validateType(DynamicExpression operand)
public abstract int evalInt(int val)
public abstract long evalLong(long val)
public abstract float evalFloat(float val)
public abstract double evalDouble(double val)
public abstract boolean evalBoolean(boolean val)
Copyright © 2014. All Rights Reserved.