ptolemy.data.expr
Class GeneralToken

java.lang.Object
  extended by ptolemy.data.Token
      extended by ptolemy.data.expr.GeneralToken
All Implemented Interfaces:
java.io.Serializable

public class GeneralToken
extends Token

This is a token that reports its type as "general." Otherwise, this class is identical to its parent class. The constant named general (defined in the Constants class) is an instance of this token.

Since:
Ptolemy II 2.0
Version:
$Id: GeneralToken.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Steve Neuendorffer
See Also:
Constants, Serialized Form
Accepted Rating:
Red (wbwu)
Proposed Rating:
Yellow (yuhong)

Field Summary
 
Fields inherited from class ptolemy.data.Token
NIL
 
Constructor Summary
GeneralToken()
           
 
Method Summary
 Type getType()
          Return the type of this token.
 
Methods inherited from class ptolemy.data.Token
add, addReverse, divide, divideReverse, isCloseTo, isCloseTo, isEqualTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, toString, zero, zeroReturnType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralToken

public GeneralToken()
Method Detail

getType

public Type getType()
Return the type of this token.

Overrides:
getType in class Token
Returns:
BaseType.GENERAL.