Uses of Class
java.nio.LongBuffer
Packages that use LongBuffer
Package
Description
Defines buffers, which are containers for data, and provides an
overview of the other NIO packages.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
-
Uses of LongBuffer in java.nio
Methods in java.nio that return LongBufferModifier and TypeMethodDescriptionstatic LongBufferLongBuffer.allocate(int capacity) Allocates a new long buffer.abstract LongBufferByteBuffer.asLongBuffer()Creates a view of this byte buffer as a long buffer.abstract LongBufferLongBuffer.asReadOnlyBuffer()Creates a new, read-only long buffer that shares this buffer's content.final LongBufferLongBuffer.clear()Clears this buffer.abstract LongBufferLongBuffer.compact()Compacts this buffer (optional operation).abstract LongBufferLongBuffer.duplicate()Creates a new long buffer that shares this buffer's content.final LongBufferLongBuffer.flip()Flips this buffer.LongBuffer.get(int index, long[] dst) Absolute bulk get method.LongBuffer.get(int index, long[] dst, int offset, int length) Absolute bulk get method.LongBuffer.get(long[] dst) Relative bulk get method.LongBuffer.get(long[] dst, int offset, int length) Relative bulk get method.final LongBufferLongBuffer.limit(int newLimit) Sets this buffer's limit.final LongBufferLongBuffer.mark()Sets this buffer's mark at its position.final LongBufferLongBuffer.position(int newPosition) Sets this buffer's position.abstract LongBufferLongBuffer.put(int index, long l) Absolute put method (optional operation).LongBuffer.put(int index, long[] src) Absolute bulk put method (optional operation).LongBuffer.put(int index, long[] src, int offset, int length) Absolute bulk put method (optional operation).LongBuffer.put(int index, LongBuffer src, int offset, int length) Absolute bulk put method (optional operation).abstract LongBufferLongBuffer.put(long l) Relative put method (optional operation).final LongBufferLongBuffer.put(long[] src) Relative bulk put method (optional operation).LongBuffer.put(long[] src, int offset, int length) Relative bulk put method (optional operation).LongBuffer.put(LongBuffer src) Relative bulk put method (optional operation).final LongBufferLongBuffer.reset()Resets this buffer's position to the previously-marked position.final LongBufferLongBuffer.rewind()Rewinds this buffer.abstract LongBufferLongBuffer.slice()Creates a new long buffer whose content is a shared subsequence of this buffer's content.abstract LongBufferLongBuffer.slice(int index, int length) Creates a new long buffer whose content is a shared subsequence of this buffer's content.static LongBufferLongBuffer.wrap(long[] array) Wraps a long array into a buffer.static LongBufferLongBuffer.wrap(long[] array, int offset, int length) Wraps a long array into a buffer.Methods in java.nio with parameters of type LongBufferModifier and TypeMethodDescriptionintLongBuffer.compareTo(LongBuffer that) Compares this buffer to another.intLongBuffer.mismatch(LongBuffer that) Finds and returns the relative index of the first mismatch between this buffer and a given buffer.LongBuffer.put(int index, LongBuffer src, int offset, int length) Absolute bulk put method (optional operation).LongBuffer.put(LongBuffer src) Relative bulk put method (optional operation). -
Uses of LongBuffer in java.util
Methods in java.util with parameters of type LongBufferModifier and TypeMethodDescriptionstatic BitSetBitSet.valueOf(LongBuffer lb) Returns a new bit set containing all the bits in the given long buffer between its position and limit.