public static enum UnaryExpr.Operator extends Enum<UnaryExpr.Operator>
Enum Constant and Description |
---|
inverse |
negative |
not |
posDecrement |
posIncrement |
positive |
preDecrement |
preIncrement |
Modifier and Type | Method and Description |
---|---|
static UnaryExpr.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryExpr.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryExpr.Operator positive
public static final UnaryExpr.Operator negative
public static final UnaryExpr.Operator preIncrement
public static final UnaryExpr.Operator preDecrement
public static final UnaryExpr.Operator not
public static final UnaryExpr.Operator inverse
public static final UnaryExpr.Operator posIncrement
public static final UnaryExpr.Operator posDecrement
public static UnaryExpr.Operator[] values()
for (UnaryExpr.Operator c : UnaryExpr.Operator.values()) System.out.println(c);
public static UnaryExpr.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 null