org.apache.xerces.impl.dtd
Class DTDGrammar.QNameHashtable
java.lang.Object
org.apache.xerces.impl.dtd.DTDGrammar.QNameHashtable
- Enclosing class:
- DTDGrammar
protected static final class DTDGrammar.QNameHashtable
- extends Object
A simple Hashtable implementation that takes a tuple (String, String)
as the key and a int as value.
- Author:
- Eric Ye, IBM, Andy Clark, IBM
Method Summary |
int |
get(String key)
Returns the value associated with the specified key tuple. |
void |
put(String key,
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 |
DTDGrammar.QNameHashtable
protected DTDGrammar.QNameHashtable()
put
public void put(String key,
int value)
- Associates the given value with the specified key tuple.
get
public int get(String key)
- Returns the value associated with the specified key tuple.
Copyright © 2011. All Rights Reserved.