-
Methods in java.nio that return ShortBuffer
| Modifier and Type |
Method |
Description |
static ShortBuffer |
ShortBuffer.allocate(int capacity) |
Creates a short buffer based on a newly allocated short array.
|
abstract ShortBuffer |
ShortBuffer.asReadOnlyBuffer() |
Returns a read-only buffer that shares its content with this buffer.
|
abstract ShortBuffer |
ByteBuffer.asShortBuffer() |
Returns a short buffer which is based on the remaining content of this
byte buffer.
|
abstract ShortBuffer |
ShortBuffer.compact() |
Compacts this short buffer.
|
abstract ShortBuffer |
ShortBuffer.duplicate() |
Returns a duplicated buffer that shares its content with this buffer.
|
ShortBuffer |
ShortBuffer.get(short[] dst) |
Reads shorts from the current position into the specified short array and
increases the position by the number of shorts read.
|
ShortBuffer |
ShortBuffer.get(short[] dst,
int dstOffset,
int shortCount) |
Reads shorts from the current position into the specified short array,
starting from the specified offset, and increases the position by the
number of shorts read.
|
abstract ShortBuffer |
ShortBuffer.put(int index,
short s) |
Writes a short to the specified index of this buffer; the position is not
changed.
|
abstract ShortBuffer |
ShortBuffer.put(short s) |
Writes the given short to the current position and increases the position
by 1.
|
ShortBuffer |
ShortBuffer.put(short[] src) |
Writes shorts from the given short array to the current position and
increases the position by the number of shorts written.
|
ShortBuffer |
ShortBuffer.put(short[] src,
int srcOffset,
int shortCount) |
Writes shorts from the given short array, starting from the specified
offset, to the current position and increases the position by the number
of shorts written.
|
ShortBuffer |
ShortBuffer.put(ShortBuffer src) |
Writes all the remaining shorts of the src short buffer to this
buffer's current position, and increases both buffers' position by the
number of shorts copied.
|
abstract ShortBuffer |
ShortBuffer.slice() |
Returns a sliced buffer that shares its content with this buffer.
|
static ShortBuffer |
ShortBuffer.wrap(short[] array) |
Creates a new short buffer by wrapping the given short array.
|
static ShortBuffer |
ShortBuffer.wrap(short[] array,
int start,
int shortCount) |
Creates a new short buffer by wrapping the given short array.
|
Methods in java.nio with parameters of type ShortBuffer
| Modifier and Type |
Method |
Description |
int |
ShortBuffer.compareTo(ShortBuffer otherBuffer) |
Compare the remaining shorts of this buffer to another short buffer's
remaining shorts.
|
ShortBuffer |
ShortBuffer.put(ShortBuffer src) |
Writes all the remaining shorts of the src short buffer to this
buffer's current position, and increases both buffers' position by the
number of shorts copied.
|
-
Methods in org.robovm.rt.bro that return ShortBuffer
| Modifier and Type |
Method |
Description |
static ShortBuffer |
BufferMarshalers.BufferMarshaler.toShortBuffer(Class<?> cls,
long handle,
long flags,
int d1) |
|
static ShortBuffer |
BufferMarshalers.BufferMarshaler.toShortBuffer(Class<?> cls,
long handle,
long flags,
int d1,
int d2) |
|
static ShortBuffer |
BufferMarshalers.BufferMarshaler.toShortBuffer(Class<?> cls,
long handle,
long flags,
int d1,
int d2,
int d3) |
|
Methods in org.robovm.rt.bro with parameters of type ShortBuffer
| Modifier and Type |
Method |
Description |
static void |
BufferMarshalers.BufferMarshaler.toNative(ShortBuffer buffer,
long handle,
long flags,
int d1) |
|
static void |
BufferMarshalers.BufferMarshaler.toNative(ShortBuffer buffer,
long handle,
long flags,
int d1,
int d2) |
|
static void |
BufferMarshalers.BufferMarshaler.toNative(ShortBuffer buffer,
long handle,
long flags,
int d1,
int d2,
int d3) |
|
-