![]() |
All Packages This Package Class Hierarchy Class Search Index Class calypso.util.HashtableLitejava.lang.Object | +----calypso.util.HashtableLite A utility class to avoid the pain (and memory bloat) of making lots of small hashtables. A real HashTable isn't created until the number of elements grows past a certain number (defined internally to HashtableLite). It sure would have been nice if Hashtables were an interface.
public class HashtableLite
extends java.lang.Object
implements java.lang.Cloneable
{
// Fields 4
int fCount;
Object[] fItems;
AtomHashtable fRealTable;
private static final int maxItems;
// Constructors 1
public HashtableLite();
// Methods 17
public void clear();
public Object clone();
public boolean contains(Object);
public boolean containsKey(Atom);
public int count();
public Enumeration elements();
public Object[] elementsArray();
public Vector elementsVector();
public Object get(Atom);
public boolean isEmpty();
public Enumeration keys();
public Atom[] keysArray();
public Vector keysVector();
public Object put(Atom, Object);
public Object remove(Atom);
public int size();
public String toString();
}
Fields fCountint fCount fItemsObject[] fItems fRealTableAtomHashtable fRealTable maxItemsprivate static final int maxItems
Constructors HashtableLitepublic HashtableLite() Methods clearpublic void clear() clonepublic Object clone() containspublic boolean contains(Object item) containsKeypublic boolean containsKey(Atom key) countpublic int count() elementspublic Enumeration elements() elementsArraypublic Object[] elementsArray() elementsVectorpublic Vector elementsVector() getpublic Object get(Atom key) isEmptypublic boolean isEmpty() putpublic Object put(Atom key, Object item) keyspublic Enumeration keys() keysArraypublic Atom[] keysArray() keysVectorpublic Vector keysVector() removepublic Object remove(Atom key) sizepublic int size() toStringpublic String toString() All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|||||||
| Copyright © 1998-1999 The Mozilla Organization. | |||||||