public static enum PrefixExpression.Operator extends Enum<PrefixExpression.Operator>
| Enum Constant and Description |
|---|
DECREMENT |
INCREMENT |
INVERT |
NEGATIVE |
NOT |
POSITIVE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static PrefixExpression.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrefixExpression.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrefixExpression.Operator DECREMENT
public static final PrefixExpression.Operator INCREMENT
public static final PrefixExpression.Operator INVERT
public static final PrefixExpression.Operator NEGATIVE
public static final PrefixExpression.Operator NOT
public static final PrefixExpression.Operator POSITIVE
public static PrefixExpression.Operator[] values()
for (PrefixExpression.Operator c : PrefixExpression.Operator.values()) System.out.println(c);
public static PrefixExpression.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 nullpublic String toString()
toString in class Enum<PrefixExpression.Operator>Copyright © 2013. All rights reserved.