Cytoscape 2.8.2 API

org.cytoscape.equations
Enum Token

java.lang.Object
  extended by java.lang.Enum<Token>
      extended by org.cytoscape.equations.Token
All Implemented Interfaces:
Serializable, Comparable<Token>

public enum Token
extends Enum<Token>


Enum Constant Summary
AMPERSAND
           
BOOLEAN_CONSTANT
           
CARET
           
CLOSE_BRACE
           
CLOSE_PAREN
           
COLON
           
COMMA
           
DIV
           
DOLLAR
           
EOS
           
EQUAL
           
ERROR
           
FLOAT_CONSTANT
           
GREATER_OR_EQUAL
           
GREATER_THAN
           
IDENTIFIER
           
LESS_OR_EQUAL
           
LESS_THAN
           
MINUS
           
MUL
           
NOT_EQUAL
           
OPEN_BRACE
           
OPEN_PAREN
           
PLUS
           
STRING_CONSTANT
           
 
Method Summary
 String asString()
           
 boolean isArithmeticOperator()
           
 boolean isComparisonOperator()
           
 boolean isStringOperator()
           
static Token valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Token[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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()

Cytoscape 2.8.2 API

Copyright 2010 Cytoscape Consortium. All rights reserved.