org.multijava.util
Class VectorCache
java.lang.Object
org.multijava.util.VectorCache
- public class VectorCache
- extends Object
This class implements a cache of char arrays
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMALL
public static final int SMALL
BIG
public static final int BIG
smalls
private static Stack smalls
bigs
private static Stack bigs
VectorCache
public VectorCache()
request
public static Vector request(int size)
- Returns a char array.
release
public static void release(Vector vector)
- Releases a char array.
mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.