public interface Allocator
| 限定符和类型 | 方法和说明 |
|---|---|
long |
actualUsed()
the memory size actualUsed.
|
MemoryBuffer |
allocate(int size)
allocate memory buf.
|
void |
destroy()
destroy allocator, dispose all resources.
|
long |
getCapacity()
the capacity
|
long |
used() |
MemoryBuffer allocate(int size)
size - void destroy()
long getCapacity()
long actualUsed()
long used()
Copyright © 2014. All rights reserved.