All Implemented Interfaces:
Comparable<DoubleBuffer>

  • Method Summary

    allocate(int capacity)

    Allocates a new double buffer.

    final double[]

    array()

    Returns the double array that backs this buffer  (optional operation).

    final int

    Returns the offset within this buffer's backing array of the first element of the buffer  (optional operation).

    Creates a new, read-only double buffer that shares this buffer's content.

    clear()

    compact()

    Compacts this buffer  (optional operation).

    int

    Compares this buffer to another.

    duplicate()

    Creates a new double buffer that shares this buffer's content.

    boolean

    Tells whether or not this buffer is equal to another object.

    flip()

    abstract double

    get()

    get(double[] dst)

    Relative bulk get method.

    get(double[] dst, int offset, int length)

    Relative bulk get method.

    abstract double

    get(int index)

    get(int index, double[] dst)

    Absolute bulk get method.

    get(int index, double[] dst, int offset, int length)

    Absolute bulk get method.

    final boolean

    hasArray()

    Tells whether or not this buffer is backed by an accessible double array.

    int

    hashCode()

    Returns the current hash code of this buffer.

    abstract boolean

    isDirect()

    Tells whether or not this double buffer is direct.

    limit(int newLimit)

    Sets this buffer's limit.

    mark()

    Sets this buffer's mark at its position.

    int

    Finds and returns the relative index of the first mismatch between this buffer and a given buffer.

    order()

    Retrieves this buffer's byte order.

    position(int newPosition)

    Sets this buffer's position.

    put(double d)

    Relative put method  (optional operation).

    put(double[] src)

    Relative bulk put method  (optional operation).

    put(double[] src, int offset, int length)

    Relative bulk put method  (optional operation).

    put(int index, double d)

    Absolute put method  (optional operation).

    put(int index, double[] src)

    Absolute bulk put method  (optional operation).

    put(int index, double[] src, int offset, int length)

    Absolute bulk put method  (optional operation).

    put(int index, DoubleBuffer src, int offset, int length)

    Absolute bulk put method  (optional operation).

    Relative bulk put method  (optional operation).

    reset()

    Resets this buffer's position to the previously-marked position.

    rewind()

    slice()

    Creates a new double buffer whose content is a shared subsequence of this buffer's content.

    slice(int index, int length)

    Creates a new double buffer whose content is a shared subsequence of this buffer's content.

    toString()

    Returns a string summarizing the state of this buffer.

    wrap(double[] array)

    Wraps a double array into a buffer.

    wrap(double[] array, int offset, int length)

    Wraps a double array into a buffer.

  • Method Details

    • allocate

    • wrap

    • wrap

    • slice

    • slice

    • duplicate

    • asReadOnlyBuffer

    • get

    • put

    • get

    • put

    • get

    • get

    • get

    • get

    • put

    • put

    • put

    • put

    • put

    • put

    • hasArray

    • array

    • arrayOffset

    • position

    • limit

    • mark

    • reset

    • clear

    • flip

    • rewind

    • compact

    • isDirect

    • toString

    • hashCode

    • equals

    • compareTo

    • mismatch

    • order