jwo.utils.expression
Class Token

java.lang.Object
  extended byjwo.utils.expression.Token

public class Token
extends Object

A simple token for storing a type, value pair. Modified from original code described at www.devx.com/premier/mgznarch/javapro/2001/05may01/ps0105/ps0105.asp.

Version:
2.1, 15th February, 2001, modified 10th April, 2002.
Author:
Daniel Savarese, modified by Jo Wood.

Constructor Summary
Token(Object type, Object value)
           
 
Method Summary
 Object getType()
           
 Object getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Token

public Token(Object type,
             Object value)
Method Detail

getValue

public Object getValue()

getType

public Object getType()

toString

public String toString()


Copyright Jo Wood, 1996-2004, last modified, 3rd September, 2004