|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--antlr.ANTLRHashString
Untamed:
Field Summary | |
private char[] |
buf
|
private int |
len
|
private CharScanner |
lexer
|
private static int |
prime
|
private String |
s
|
Constructor Summary | |
ANTLRHashString(char[] buf,
int length,
CharScanner lexer)
Enabled: |
|
ANTLRHashString(CharScanner lexer)
Enabled: |
|
ANTLRHashString(String s,
CharScanner lexer)
Enabled: |
Method Summary | |
private char |
charAt(int index)
|
boolean |
equals(Object o)
Suppressed: |
int |
hashCode()
Suppressed: |
private int |
length()
|
void |
setBuffer(char[] buf,
int length)
Enabled: |
void |
setString(String s)
Enabled: |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String s
private char[] buf
private int len
private CharScanner lexer
private static final int prime
Constructor Detail |
public ANTLRHashString(char[] buf, int length, CharScanner lexer)
public ANTLRHashString(CharScanner lexer)
public ANTLRHashString(String s, CharScanner lexer)
Method Detail |
private final char charAt(int index)
public boolean equals(Object o)
equals
in class Object
o
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.Object.hashCode()
,
java.util.Hashtable
public int hashCode()
hashCode
in class Object
java.lang.Object#equals(java.lang.Object)
,
java.util.Hashtable
private final int length()
public void setBuffer(char[] buf, int length)
public void setString(String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |