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