|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wcohen.ss.tokens.BasicToken
public class BasicToken
An interned version of a string.
Method Summary | |
---|---|
int |
compareTo(Token t)
|
int |
getIndex()
|
java.lang.String |
getValue()
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getValue()
getValue
in interface Token
public int getIndex()
getIndex
in interface Token
public int compareTo(Token t)
compareTo
in interface java.lang.Comparable<Token>
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |