public final class NoByteArrayPool extends AbstractNoPool<byte[]> implements ByteArrayPool
dummy pool
for byte-arrays.Modifier and Type | Field and Description |
---|---|
private static int |
ARRAY_LENGTH
The default length of the managed byte-arrays.
|
static NoByteArrayPool |
INSTANCE
The singleton instance.
|
Modifier | Constructor and Description |
---|---|
private |
NoByteArrayPool()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
borrow()
This method borrows an element from this pool.
|
isEmpty, release
public static final NoByteArrayPool INSTANCE
private static final int ARRAY_LENGTH
public byte[] borrow()
Pool
Copyright © 2001–2016 mmm-Team. All rights reserved.