JML

org.multijava.util
Class CharArrayCache

java.lang.Object
  extended byorg.multijava.util.CharArrayCache

public class CharArrayCache
extends Object

This class implements a cache of char arrays


Field Summary
private static int ARRAY_SIZE
           
private static Stack stack
           
 
Constructor Summary
CharArrayCache()
           
 
Method Summary
static void release(char[] array)
          Releases a char array.
static char[] request()
          Returns a char array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARRAY_SIZE

private static final int ARRAY_SIZE

stack

private static Stack stack
Constructor Detail

CharArrayCache

public CharArrayCache()
Method Detail

request

public static char[] request()
Returns a char array.


release

public static void release(char[] array)
Releases a char array.


JML

JML is Copyright (C) 1998-2002 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. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.