BEA Systems, Inc.

weblogic.apache.xerces.impl.dtd
Class DTDGrammar.QNameHashtable

java.lang.Object
  extended by weblogic.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.


Field Summary
static boolean UNIQUE_STRINGS
           
 
Constructor Summary
protected DTDGrammar.QNameHashtable()
           
 
Method Summary
 int get(String key)
          Returns the value associated with the specified key tuple.
protected  int hash(String symbol)
          Returns a hash value for the specified symbol.
 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
 

Field Detail

UNIQUE_STRINGS

public static final boolean UNIQUE_STRINGS
See Also:
Constant Field Values
Constructor Detail

DTDGrammar.QNameHashtable

protected DTDGrammar.QNameHashtable()
Method Detail

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.


hash

protected int hash(String symbol)
Returns a hash value for the specified symbol.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.