The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class calypso.util.HashtableRecycler
All Packages  This Package  Class Hierarchy  Class Search  Index

Class calypso.util.HashtableRecycler

java.lang.Object
   |
   +----calypso.util.HashtableRecycler

Static recycler class for java.util.Hashtable


public final class  HashtableRecycler
     extends java.lang.Object
{
          // Fields 1
     static Recycler gRecycler;

          // Constructors 1
     public HashtableRecycler();

          // Methods 5
     public static synchronized Hashtable Alloc();
     public static synchronized Hashtable Alloc(int);
     public static synchronized void EmptyRecycler();
     public static synchronized void Recycle(Hashtable);
     static void classFinalize() throws Throwable;
}



Fields


gRecycler

   static Recycler gRecycler



Constructors


HashtableRecycler

   public HashtableRecycler() 

Default constructor




Methods


Alloc

   public static synchronized Hashtable Alloc() 

Get one



Alloc

   public static synchronized Hashtable Alloc(int aCapacity) 

Get one with an initial size since the growth mechanism is private (for now) a recycled table won't really grow to capacity

Parameter Description
aCapacity desired initial capacity



Recycle

   public static synchronized void Recycle(Hashtable aTable) 

Recycle a hashtable (it will be cleared by the recycler)

Parameter Description
aTable table to be recycled



EmptyRecycler

   public static synchronized void EmptyRecycler() 

Empty the recycler, it's earth day

Parameter Description



classFinalize

   static void classFinalize()  throws Throwable

finalize class for unloading

Parameter Description



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998.