Enum Constant and Description |
---|
ASSIGN |
BRACKET_LEFT |
BRACKET_RIGHT |
COLON |
COMMA |
ELEMENT_DIVIDE |
ELEMENT_POWER |
ELEMENT_TIMES |
GREATER_THAN |
GREATER_THAN_EQ |
LDIVIDE |
LESS_THAN |
LESS_THAN_EQ |
MINUS |
PAREN_LEFT |
PAREN_RIGHT |
PERIOD |
PLUS |
POWER |
RDIVIDE |
SEMICOLON |
TIMES |
TRANSPOSE |
Modifier and Type | Method and Description |
---|---|
static Symbol |
lookup(char c) |
static Symbol |
lookupElementWise(char c) |
static Symbol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Symbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Symbol PLUS
public static final Symbol MINUS
public static final Symbol TIMES
public static final Symbol LDIVIDE
public static final Symbol RDIVIDE
public static final Symbol POWER
public static final Symbol PERIOD
public static final Symbol ELEMENT_TIMES
public static final Symbol ELEMENT_DIVIDE
public static final Symbol ELEMENT_POWER
public static final Symbol ASSIGN
public static final Symbol PAREN_LEFT
public static final Symbol PAREN_RIGHT
public static final Symbol BRACKET_LEFT
public static final Symbol BRACKET_RIGHT
public static final Symbol GREATER_THAN
public static final Symbol LESS_THAN
public static final Symbol GREATER_THAN_EQ
public static final Symbol LESS_THAN_EQ
public static final Symbol COMMA
public static final Symbol TRANSPOSE
public static final Symbol COLON
public static final Symbol SEMICOLON
public static Symbol[] values()
for (Symbol c : Symbol.values()) System.out.println(c);
public static Symbol 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 static Symbol lookup(char c)
public static Symbol lookupElementWise(char c)