public static enum UnaryOperatorNode.Op extends Enum<UnaryOperatorNode.Op>
| Enum Constant and Description |
|---|
COMPLEMENT
~
|
MINUS
-
|
NOT
!
|
PLUS
+
|
| Modifier and Type | Method and Description |
|---|---|
static UnaryOperatorNode.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryOperatorNode.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryOperatorNode.Op COMPLEMENT
public static final UnaryOperatorNode.Op MINUS
public static final UnaryOperatorNode.Op NOT
public static final UnaryOperatorNode.Op PLUS
public static UnaryOperatorNode.Op 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 static UnaryOperatorNode.Op[] values()
for (UnaryOperatorNode.Op c : UnaryOperatorNode.Op.values()) System.out.println(c);
Copyright © 2012 Aarhus University