|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CodeUnaryOperatorType>
org.duelengine.duel.codedom.CodeUnaryOperatorType
public enum CodeUnaryOperatorType
| Enum Constant Summary | |
|---|---|
BITWISE_NEGATION
Bitwise not "~x" |
|
LOGICAL_NEGATION
Logical not "!x" |
|
NEGATION
Negative numeric "-x" |
|
NONE
|
|
POSITIVE
Positive numeric "+x" |
|
POST_DECREMENT
DEC after "x--" |
|
POST_INCREMENT
INC after "x++" |
|
PRE_DECREMENT
DEC before "--x" |
|
PRE_INCREMENT
INC before "++x" |
|
| Method Summary | |
|---|---|
static CodeUnaryOperatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CodeUnaryOperatorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CodeUnaryOperatorType NONE
public static final CodeUnaryOperatorType POSITIVE
public static final CodeUnaryOperatorType NEGATION
public static final CodeUnaryOperatorType LOGICAL_NEGATION
public static final CodeUnaryOperatorType BITWISE_NEGATION
public static final CodeUnaryOperatorType PRE_INCREMENT
public static final CodeUnaryOperatorType PRE_DECREMENT
public static final CodeUnaryOperatorType POST_INCREMENT
public static final CodeUnaryOperatorType POST_DECREMENT
| Method Detail |
|---|
public static CodeUnaryOperatorType[] values()
for (CodeUnaryOperatorType c : CodeUnaryOperatorType.values()) System.out.println(c);
public static CodeUnaryOperatorType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||