ptolemy.data.expr
Class UnknownToken

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

public class UnknownToken
extends Token

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

Since:
Ptolemy II 2.0
Version:
$Id: UnknownToken.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Edward A. Lee
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
UnknownToken()
           
 
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

UnknownToken

public UnknownToken()
Method Detail

getType

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

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