org.iids.aos.util
Class ByteArrayFactory

java.lang.Object
  extended by org.iids.aos.util.ByteArrayFactory

public class ByteArrayFactory
extends java.lang.Object

Factory class for ByteArrays. This class caches ByteArrays instances for better performance.

Author:
Michel Oey

Constructor Summary
ByteArrayFactory()
           
 
Method Summary
static byte[] getInstance(int size)
           
static void releaseInstance(byte[] buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayFactory

public ByteArrayFactory()
Method Detail

getInstance

public static byte[] getInstance(int size)

releaseInstance

public static void releaseInstance(byte[] buf)


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.