put
Relative put method. Writes the given float at the current position and then increments the position.
Return
this FloatBuffer.
Parameters
the float value to write.
Throws
if there is no space remaining (position equals limit).
Absolute put method. Writes the given float into the buffer at the specified index (in floats). Incorporates the baseOffset for sliced buffers.
Return
this FloatBuffer.
Parameters
the index at which to write.
the float value to write.
Throws
if index is out of bounds [0, limit).
if the underlying buffer cannot be written to.
Relative bulk put method.
Transfers length floats from the source src array into this buffer, starting at the specified offset in src and at the current position in this buffer. After copying, the buffer's position is advanced by length.
Return
This buffer.
Parameters
The source array.
The starting offset in the source array.
The number of floats to transfer.
Throws
if there is insufficient space in this buffer.
if the underlying buffer cannot be written to.
Relative bulk put method.
Transfers the entire content of the source src array into this buffer, starting at the current position. This method behaves the same as put(src, 0, src.size).
Return
This buffer.
Parameters
The source array.
Throws
if there is insufficient space in this buffer.
if the underlying buffer cannot be written to.