|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.xerces.impl.dtd.AbstractDTDGrammar.TupleHashtable
A simple Hashtable implementation that takes a tuple (int, String, String) as the key and a int as value.
| Constructor Summary | |
protected |
AbstractDTDGrammar.TupleHashtable()
|
| Method Summary | |
int |
get(int key1,
java.lang.String key2,
java.lang.String key3)
Returns the value associated with the specified key tuple. |
protected int |
hash(java.lang.String symbol)
Returns a hash value for the specified symbol. |
void |
put(int key1,
java.lang.String key2,
java.lang.String key3,
int value)
Associates the given value with the specified key tuple. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected AbstractDTDGrammar.TupleHashtable()
| Method Detail |
public void put(int key1,
java.lang.String key2,
java.lang.String key3,
int value)
public int get(int key1,
java.lang.String key2,
java.lang.String key3)
protected int hash(java.lang.String symbol)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||