public static enum ArityRange.Bound extends java.lang.Enum<ArityRange.Bound>
Enum Constant and Description |
---|
BINARY
Bound for binary operators.
|
TERNARY
Bound for ternary operators.
|
UNARY
Bound for unary operators.
|
UNBOUNDED
Bound for unlimited number of operands.
|
Modifier and Type | Method and Description |
---|---|
int |
value()
Returns the number that corresponds to the given bound constant.
|
static ArityRange.Bound |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArityRange.Bound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArityRange.Bound UNARY
public static final ArityRange.Bound BINARY
public static final ArityRange.Bound TERNARY
public static final ArityRange.Bound UNBOUNDED
public static ArityRange.Bound[] values()
for (ArityRange.Bound c : ArityRange.Bound.values()) System.out.println(c);
public static ArityRange.Bound valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()