|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--calypso.util.VectorRecycler
Static recycler class for java.util.Vector
Constructor Summary | |
VectorRecycler()
|
Method Summary | |
static java.util.Vector |
Alloc()
Get one |
static java.util.Vector |
Alloc(int aCapacity)
Get one with an initial capacity a recycled vector may be bigger than capacity |
static void |
EmptyRecycler()
Empty the recycler, it's earth day |
static void |
Recycle(java.util.Vector aVector)
Recycle a vector (it will be emptied by the recycler) |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public VectorRecycler()
Method Detail |
public static java.util.Vector Alloc()
public static java.util.Vector Alloc(int aCapacity)
aCapacity
- minimum desired capacitypublic static void Recycle(java.util.Vector aVector)
aVector
- vector to be recycledpublic static void EmptyRecycler()
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |