public enum UnaryOperatorKind extends Enum<UnaryOperatorKind>
Enum Constant and Description |
---|
COMPL
Binary complement.
|
NEG
Negation.
|
NOT
Logical inversion.
|
POS
Positivation.
|
POSTDEC
Decrementation post assignment.
|
POSTINC
Incrementation post assignment.
|
PREDEC
Decrementation pre assignment.
|
PREINC
Incrementation pre assignment.
|
Modifier and Type | Method and Description |
---|---|
static UnaryOperatorKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryOperatorKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryOperatorKind POS
public static final UnaryOperatorKind NEG
public static final UnaryOperatorKind NOT
public static final UnaryOperatorKind COMPL
public static final UnaryOperatorKind PREINC
public static final UnaryOperatorKind PREDEC
public static final UnaryOperatorKind POSTINC
public static final UnaryOperatorKind POSTDEC
public static UnaryOperatorKind[] values()
for (UnaryOperatorKind c : UnaryOperatorKind.values()) System.out.println(c);
public static UnaryOperatorKind 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 © 2007–2019 Inria. All rights reserved.