Uses of Class
java.nio.IntBuffer
| Package | Description |
|---|---|
| java.nio |
Defines buffers, which are containers for data, and provides an
overview of the other NIO packages.
|
-
Uses of IntBuffer in java.nio
Methods in java.nio that return IntBuffer Modifier and Type Method Description static IntBufferIntBuffer. allocate(int capacity)Allocates a new int buffer.abstract IntBufferByteBuffer. asIntBuffer()Creates a view of this byte buffer as an int buffer.abstract IntBufferIntBuffer. asReadOnlyBuffer()Creates a new, read-only int buffer that shares this buffer's content.IntBufferIntBuffer. clear()Clears this buffer.abstract IntBufferIntBuffer. compact()Compacts this buffer (optional operation).abstract IntBufferIntBuffer. duplicate()Creates a new int buffer that shares this buffer's content.IntBufferIntBuffer. flip()Flips this buffer.IntBufferIntBuffer. get(int[] dst)Relative bulk get method.IntBufferIntBuffer. get(int[] dst, int offset, int length)Relative bulk get method.IntBufferIntBuffer. get(int index, int[] dst)Absolute bulk get method.IntBufferIntBuffer. get(int index, int[] dst, int offset, int length)Absolute bulk get method.IntBufferIntBuffer. limit(int newLimit)Sets this buffer's limit.IntBufferIntBuffer. mark()Sets this buffer's mark at its position.IntBufferIntBuffer. position(int newPosition)Sets this buffer's position.abstract IntBufferIntBuffer. put(int i)Relative put method (optional operation).IntBufferIntBuffer. put(int[] src)Relative bulk put method (optional operation).IntBufferIntBuffer. put(int[] src, int offset, int length)Relative bulk put method (optional operation).abstract IntBufferIntBuffer. put(int index, int i)Absolute put method (optional operation).IntBufferIntBuffer. put(int index, int[] src)Absolute bulk put method (optional operation).IntBufferIntBuffer. put(int index, int[] src, int offset, int length)Absolute bulk put method (optional operation).IntBufferIntBuffer. put(IntBuffer src)Relative bulk put method (optional operation).IntBufferIntBuffer. reset()Resets this buffer's position to the previously-marked position.IntBufferIntBuffer. rewind()Rewinds this buffer.abstract IntBufferIntBuffer. slice()Creates a new int buffer whose content is a shared subsequence of this buffer's content.abstract IntBufferIntBuffer. slice(int index, int length)Creates a new int buffer whose content is a shared subsequence of this buffer's content.static IntBufferIntBuffer. wrap(int[] array)Wraps an int array into a buffer.static IntBufferIntBuffer. wrap(int[] array, int offset, int length)Wraps an int array into a buffer.Methods in java.nio with parameters of type IntBuffer Modifier and Type Method Description intIntBuffer. compareTo(IntBuffer that)Compares this buffer to another.intIntBuffer. mismatch(IntBuffer that)Finds and returns the relative index of the first mismatch between this buffer and a given buffer.IntBufferIntBuffer. put(IntBuffer src)Relative bulk put method (optional operation).