Skip to content

Tag Archives: Java-ShortBuffer

The compact() method of java.nio.ShortBuffer Class is used to compact the given buffer. The shorts between the buffer’s current position and its limit, if any,… Read More
The array() method of java.nio.ShortBuffer is used to return the short array that backs this buffer(optional). Modifications to this buffer’s content will cause the returned… Read More
The arrayOffset() method of java.nio.ShortBuffer class is used to return the offset within the buffer’s backing array of the first element of the buffer. It… Read More
The asReadOnlyBuffer() method of java.nio.ShortBuffer Class is used to create a new, read-only short buffer with this buffer’s content. The new buffer is a replica… Read More
The duplicate() method of java.nio.ShortBuffer Class creates a new short buffer that shares this buffer’s content. The content of the new buffer will be that… Read More
The compareTo() method of java.nio.ShortBuffer class is used to compare one buffer to another. Two short buffers are compared by comparing their sequences of remaining… Read More
The hasArray() method of java.nio.ShortBuffer class is used to ensure whether or not the given buffer is backed by an accessible float array. It returns… Read More