@Deprecated public class SimpleBufferAllocator extends Object implements BufferAllocator
Modifier and Type | Field and Description |
---|---|
static IoBuffer |
EMPTY_IOBUFFER
Deprecated.
|
Constructor and Description |
---|
SimpleBufferAllocator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IoBuffer |
allocate(int capacity)
Deprecated.
|
void |
dispose()
Deprecated.
|
static BufferAllocator |
newInstance()
Deprecated.
|
IoBuffer |
wrap(ByteBuffer byteBuffer)
Deprecated.
|
public static final IoBuffer EMPTY_IOBUFFER
public final IoBuffer allocate(int capacity)
allocate
in interface BufferAllocator
public final void dispose()
dispose
in interface BufferAllocator
public static final BufferAllocator newInstance()
public final IoBuffer wrap(ByteBuffer byteBuffer)
wrap
in interface BufferAllocator
Copyright © 2021. All rights reserved.