Uses of Class
java.nio.DoubleBuffer
Packages that use DoubleBuffer
Package
Description
Defines buffers, which are containers for data, and provides an
overview of the other NIO packages.
-
Uses of DoubleBuffer in java.nio
Classes in java.nio that implement interfaces with type arguments of type DoubleBufferMethods in java.nio that return DoubleBufferModifier and TypeMethodDescriptionstatic DoubleBufferDoubleBuffer.allocate(int capacity) Allocates a new double buffer.abstract DoubleBufferByteBuffer.asDoubleBuffer()Creates a view of this byte buffer as a double buffer.abstract DoubleBufferDoubleBuffer.asReadOnlyBuffer()Creates a new, read-only double buffer that shares this buffer's content.final DoubleBufferDoubleBuffer.clear()Clears this buffer.abstract DoubleBufferDoubleBuffer.compact()Compacts this buffer (optional operation).abstract DoubleBufferDoubleBuffer.duplicate()Creates a new double buffer that shares this buffer's content.final DoubleBufferDoubleBuffer.flip()Flips this buffer.DoubleBuffer.get(double[] dst) Relative bulk get method.DoubleBuffer.get(double[] dst, int offset, int length) Relative bulk get method.DoubleBuffer.get(int index, double[] dst) Absolute bulk get method.DoubleBuffer.get(int index, double[] dst, int offset, int length) Absolute bulk get method.final DoubleBufferDoubleBuffer.limit(int newLimit) Sets this buffer's limit.final DoubleBufferDoubleBuffer.mark()Sets this buffer's mark at its position.final DoubleBufferDoubleBuffer.position(int newPosition) Sets this buffer's position.abstract DoubleBufferDoubleBuffer.put(double d) Relative put method (optional operation).final DoubleBufferDoubleBuffer.put(double[] src) Relative bulk put method (optional operation).DoubleBuffer.put(double[] src, int offset, int length) Relative bulk put method (optional operation).abstract DoubleBufferDoubleBuffer.put(int index, double d) Absolute put method (optional operation).DoubleBuffer.put(int index, double[] src) Absolute bulk put method (optional operation).DoubleBuffer.put(int index, double[] src, int offset, int length) Absolute bulk put method (optional operation).DoubleBuffer.put(int index, DoubleBuffer src, int offset, int length) Absolute bulk put method (optional operation).DoubleBuffer.put(DoubleBuffer src) Relative bulk put method (optional operation).final DoubleBufferDoubleBuffer.reset()Resets this buffer's position to the previously-marked position.final DoubleBufferDoubleBuffer.rewind()Rewinds this buffer.abstract DoubleBufferDoubleBuffer.slice()Creates a new double buffer whose content is a shared subsequence of this buffer's content.abstract DoubleBufferDoubleBuffer.slice(int index, int length) Creates a new double buffer whose content is a shared subsequence of this buffer's content.static DoubleBufferDoubleBuffer.wrap(double[] array) Wraps a double array into a buffer.static DoubleBufferDoubleBuffer.wrap(double[] array, int offset, int length) Wraps a double array into a buffer.Methods in java.nio with parameters of type DoubleBufferModifier and TypeMethodDescriptionintDoubleBuffer.compareTo(DoubleBuffer that) Compares this buffer to another.intDoubleBuffer.mismatch(DoubleBuffer that) Finds and returns the relative index of the first mismatch between this buffer and a given buffer.DoubleBuffer.put(int index, DoubleBuffer src, int offset, int length) Absolute bulk put method (optional operation).DoubleBuffer.put(DoubleBuffer src) Relative bulk put method (optional operation).