aima.logic.common
Class Token

java.lang.Object
  extended by aima.logic.common.Token

public class Token
extends java.lang.Object


Constructor Summary
Token(int type, java.lang.String text)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getText()
           
 int getType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Token

public Token(int type,
             java.lang.String text)
Method Detail

getText

public java.lang.String getText()

getType

public int getType()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object