public static enum OperatorTable2.PsudoOperators extends java.lang.Enum<OperatorTable2.PsudoOperators> implements EmptyOperatorTable.OperatorKey
Enum Constant and Description |
---|
NOP
Represent a no-operation
|
POSTFIX
Used to mark the precedence level of postfix operators like x++
|
PREFIX
Used to mark the precedence level of prefix operators like ++x
|
RECIP
reciprocal 1/x
|
UPLUS
Unary plus +x
|
Modifier and Type | Method and Description |
---|---|
static OperatorTable2.PsudoOperators |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperatorTable2.PsudoOperators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorTable2.PsudoOperators NOP
public static final OperatorTable2.PsudoOperators UPLUS
public static final OperatorTable2.PsudoOperators RECIP
public static final OperatorTable2.PsudoOperators PREFIX
public static final OperatorTable2.PsudoOperators POSTFIX
public static OperatorTable2.PsudoOperators[] values()
for (OperatorTable2.PsudoOperators c : OperatorTable2.PsudoOperators.values()) System.out.println(c);
public static OperatorTable2.PsudoOperators 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 nullCopyright © 2018 Singular Systems http://www.singularsys.com/jep