Open SiteSearch 4.1.1
Final

ORG.oclc.xml.util
Class StringHashtable

java.lang.Object
  |
  +--ORG.oclc.xml.util.StringHashtable

public class StringHashtable
extends Object

This simple hashtable uses strings as the keys.


Constructor Summary
StringHashtable()
          Construct empty hashtable.
StringHashtable(int size)
          Construct empty hashtable.
 
Method Summary
 Object get(char[] chars, int offset, int length)
          Get a value from the hashtable.
 Object get(String key)
          Get a value from the hashtable.
 Object put(String key, Object value)
          Add object to the hashtable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringHashtable

public StringHashtable()
Construct empty hashtable.

StringHashtable

public StringHashtable(int size)
Construct empty hashtable.
Method Detail

put

public Object put(String key,
                  Object value)
Add object to the hashtable.

get

public Object get(String key)
Get a value from the hashtable.

get

public Object get(char[] chars,
                  int offset,
                  int length)
Get a value from the hashtable.

Open SiteSearch 4.1.1
Final