public static enum Operator.Unary extends Enum<Operator.Unary> implements Operator
Operator.Binary, Operator.Unary| Modifier and Type | Method and Description |
|---|---|
int |
precedence() |
static Operator.Unary |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operator.Unary[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator.Unary UNM
public static final Operator.Unary BNOT
public static final Operator.Unary LEN
public static final Operator.Unary NOT
public static Operator.Unary[] values()
for (Operator.Unary c : Operator.Unary.values()) System.out.println(c);
public static Operator.Unary 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 int precedence()
precedence in interface OperatorCopyright © 2016–2017. All rights reserved.