The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback


Class calypso.util.VectorRecycler

All Packages  This Package  Class Hierarchy  Class Search  Index

Class calypso.util.VectorRecycler

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

Static recycler class for java.util.Vector

See Also:


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

          // Constructors 1
     public VectorRecycler();

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



Fields


gRecycler

   static Recycler gRecycler



Constructors


VectorRecycler

   public VectorRecycler() 

Default constructor




Methods


Alloc

   public static synchronized Vector Alloc() 

Get one



Alloc

   public static synchronized Vector Alloc(int aCapacity) 

Get one with an initial capacity a recycled vector may be bigger than capacity

Parameter Description
aCapacity minimum desired capacity



Recycle

   public static synchronized void Recycle(Vector aVector) 

Recycle a vector (it will be emptied by the recycler)

Parameter Description
aVector vector 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 The Mozilla Organization.