Java.Nio.FloatBuffer: Method Members

The methods of Java.Nio.FloatBuffer are listed below. For a list of all members, see the FloatBuffer Members list.

See Also: Inherited members from Java.Nio.Buffer

Public Methods

static
Allocate(int) : FloatBuffer
Creates a float buffer based on a newly allocated float array.
override
ArrayOffset() : int
Returns the offset into the array returned by array of the first element of the buffer (optional operation).
abstract
AsReadOnlyBuffer() : FloatBuffer
Returns a read-only buffer that shares its content with this buffer.
abstract
Compact() : FloatBuffer
Compacts this float buffer.
CompareTo(FloatBuffer) : int
Compare the remaining floats of this buffer to another float buffer's remaining floats.
abstract
Duplicate() : FloatBuffer
Returns a duplicated buffer that shares its content with this buffer.
abstract
Get() : float
Returns the float at the current position and increases the position by 1.
abstract
Get(int) : float
Returns a float at the specified index; the position is not changed.
Get(float[]) : FloatBuffer
Reads floats from the current position into the specified float array and increases the position by the number of floats read.
Get(float[], int, int) : FloatBuffer
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
Order() : ByteOrder
Returns the byte order used by this buffer when converting floats from/to bytes.
Put(FloatBuffer) : FloatBuffer
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
Put(float) : FloatBuffer
Writes the given float to the current position and increases the position by 1.
Put(float[]) : FloatBuffer
Writes floats from the given float array to the current position and increases the position by the number of floats written.
abstract
Put(int, float) : FloatBuffer
Writes a float to the specified index of this buffer; the position is not changed.
Put(float[], int, int) : FloatBuffer
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
Slice() : FloatBuffer
Returns a sliced buffer that shares its content with this buffer.
static
Wrap(float[]) : FloatBuffer
Creates a new float buffer by wrapping the given float array.
static
Wrap(float[], int, int) : FloatBuffer
Creates a new float buffer by wrapping the given float array.