|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the type of buffer that is managed by this allocatorpublic interface BufferAllocator<T extends java.nio.Buffer>
An allocator for buffers.
| Method Summary | |
|---|---|
T |
allocate()
Allocate a buffer. |
void |
free(T buffer)
Free a previously allocated buffer. |
| Method Detail |
|---|
T allocate()
null.
null if none are availablevoid free(T buffer)
buffer - the buffer to free
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||