public static enum OperatorTable2.SpecialOperators extends java.lang.Enum<OperatorTable2.SpecialOperators> implements EmptyOperatorTable.OperatorKey
Enum Constant and Description |
---|
ASSIGN
Assignment x=5
|
CROSS
Cross product
|
DOT
Dot product x . y
|
ELEMENT
Accesses an element of a list x[2]
|
LIST
Build a list of elements [1,2,3]
|
RANGE
A range [-5:5]
|
Modifier and Type | Method and Description |
---|---|
static OperatorTable2.SpecialOperators |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperatorTable2.SpecialOperators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorTable2.SpecialOperators ASSIGN
public static final OperatorTable2.SpecialOperators DOT
public static final OperatorTable2.SpecialOperators CROSS
public static final OperatorTable2.SpecialOperators LIST
public static final OperatorTable2.SpecialOperators ELEMENT
public static final OperatorTable2.SpecialOperators RANGE
public static OperatorTable2.SpecialOperators[] values()
for (OperatorTable2.SpecialOperators c : OperatorTable2.SpecialOperators.values()) System.out.println(c);
public static OperatorTable2.SpecialOperators 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