public enum PostfixOperator extends Enum<PostfixOperator>
| Enum Constant and Description |
|---|
DECREMENT
Postfix decrement.
|
INCREMENT
Postfix increment.
|
| Modifier and Type | Method and Description |
|---|---|
static PostfixOperator |
fromSymbol(String symbol)
Returns an operator from its symbol.
|
String |
getSymbol()
Returns the operator symbol.
|
static PostfixOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostfixOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostfixOperator INCREMENT
public static final PostfixOperator DECREMENT
public static PostfixOperator[] values()
for (PostfixOperator c : PostfixOperator.values()) System.out.println(c);
public static PostfixOperator 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 getSymbol()
public static PostfixOperator fromSymbol(String symbol)
symbol - the target operator symbolnull if there is no such the operatorIllegalArgumentException - if the parameter is nullCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.