|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.util.ByteArrayFactory
public class ByteArrayFactory
Factory class for ByteArrays. This class caches ByteArrays instances for better performance.
| 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 |
|---|
public ByteArrayFactory()
| Method Detail |
|---|
public static byte[] getInstance(int size)
public static void releaseInstance(byte[] buf)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||