org.cytoscape.equations
Enum Token
java.lang.Object
java.lang.Enum<Token>
org.cytoscape.equations.Token
- All Implemented Interfaces:
- Serializable, Comparable<Token>
public enum Token
- extends Enum<Token>
STRING_CONSTANT
public static final Token STRING_CONSTANT
FLOAT_CONSTANT
public static final Token FLOAT_CONSTANT
BOOLEAN_CONSTANT
public static final Token BOOLEAN_CONSTANT
IDENTIFIER
public static final Token IDENTIFIER
OPEN_BRACE
public static final Token OPEN_BRACE
CLOSE_BRACE
public static final Token CLOSE_BRACE
OPEN_PAREN
public static final Token OPEN_PAREN
CLOSE_PAREN
public static final Token CLOSE_PAREN
COLON
public static final Token COLON
CARET
public static final Token CARET
PLUS
public static final Token PLUS
MINUS
public static final Token MINUS
DIV
public static final Token DIV
MUL
public static final Token MUL
EQUAL
public static final Token EQUAL
NOT_EQUAL
public static final Token NOT_EQUAL
GREATER_THAN
public static final Token GREATER_THAN
LESS_THAN
public static final Token LESS_THAN
GREATER_OR_EQUAL
public static final Token GREATER_OR_EQUAL
LESS_OR_EQUAL
public static final Token LESS_OR_EQUAL
DOLLAR
public static final Token DOLLAR
COMMA
public static final Token COMMA
AMPERSAND
public static final Token AMPERSAND
EOS
public static final Token EOS
ERROR
public static final Token ERROR
values
public static Token[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Token c : Token.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Token valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
asString
public String asString()
isComparisonOperator
public boolean isComparisonOperator()
isArithmeticOperator
public boolean isArithmeticOperator()
isStringOperator
public boolean isStringOperator()
Copyright 2010 Cytoscape Consortium. All rights reserved.