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