antlr
Class ANTLRHashString
java.lang.Object
|
+--antlr.ANTLRHashString
- public class ANTLRHashString
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
s
private java.lang.String s
buf
private char[] buf
len
private int len
lexer
private CharScanner lexer
prime
private static final int prime
- See Also:
- Constant Field Values
ANTLRHashString
public ANTLRHashString(char[] buf,
int length,
CharScanner lexer)
ANTLRHashString
public ANTLRHashString(CharScanner lexer)
ANTLRHashString
public ANTLRHashString(java.lang.String s,
CharScanner lexer)
charAt
private final char charAt(int index)
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
length
private final int length()
setBuffer
public void setBuffer(char[] buf,
int length)
setString
public void setString(java.lang.String s)