public static enum Operator.Properties.Associativity extends Enum<Operator.Properties.Associativity>
Associativity
enum represents the associativity property of an operator.Enum Constant and Description |
---|
LEFT
Left associativity.
|
NO
No associativity.
|
RIGHT
Right associativity.
|
Modifier and Type | Method and Description |
---|---|
static Operator.Properties.Associativity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operator.Properties.Associativity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator.Properties.Associativity LEFT
public static final Operator.Properties.Associativity RIGHT
public static final Operator.Properties.Associativity NO
public static Operator.Properties.Associativity[] values()
for (Operator.Properties.Associativity c : Operator.Properties.Associativity.values()) System.out.println(c);
public static Operator.Properties.Associativity 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 © 2019 Pratanu Mandal. All rights reserved.