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)
ByteBufferCloner
allocate
in class ByteBufferCloner
Copyright © 2009- The Apache Software Foundation