public enum CodeUnaryOperatorType extends Enum<CodeUnaryOperatorType>
| Enum Constant and Description |
|---|
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"
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 nameNullPointerException - if the argument is nullCopyright © 2014. All rights reserved.