public final class HeapCloner extends ByteBufferCloner
| Modifier and Type | Field and Description |
|---|---|
static HeapCloner |
instance |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
allocate(int size)
Allocate a slice of the given length.
|
public static final HeapCloner instance
public java.nio.ByteBuffer allocate(int size)
ByteBufferClonerallocate in class ByteBufferClonerCopyright © 2009-2022 The Apache Software Foundation