public final class HeapAllocator extends Allocator
| Modifier and Type | Field and Description |
|---|---|
static HeapAllocator |
instance |
| Constructor and Description |
|---|
HeapAllocator()
Normally you should use HeapAllocator.instance, since there is no per-Allocator state.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
allocate(int size) |
long |
getMinimumSize() |
public static final HeapAllocator instance
public HeapAllocator()
public long getMinimumSize()
getMinimumSize in class AllocatorCopyright © 2015 The Apache Software Foundation