| Package | Description |
|---|---|
| java.nio |
| Modifier and Type | Method and Description |
|---|---|
abstract DoubleBuffer |
DoubleBuffer.asReadOnlyBuffer()
Returns a read-only buffer that shares its content with this buffer.
|
abstract DoubleBuffer |
DoubleBuffer.compact()
Compacts this double buffer.
|
abstract DoubleBuffer |
DoubleBuffer.duplicate()
Returns a duplicated buffer that shares its content with this buffer.
|
DoubleBuffer |
DoubleBuffer.get(double[] dest)
Reads doubles from the current position into the specified double array and increases the
position by the number of doubles read.
|
DoubleBuffer |
DoubleBuffer.get(double[] dest,
int off,
int len)
Reads doubles from the current position into the specified double array, starting from the
specified offset, and increases the position by the number of doubles read.
|
abstract DoubleBuffer |
DoubleBuffer.put(double d)
Writes the given double to the current position and increases the position by 1.
|
DoubleBuffer |
DoubleBuffer.put(double[] src)
Writes doubles from the given double array to the current position and increases the
position by the number of doubles written.
|
DoubleBuffer |
DoubleBuffer.put(double[] src,
int off,
int len)
Writes doubles from the given double array, starting from the specified offset, to the
current position and increases the position by the number of doubles written.
|
DoubleBuffer |
DoubleBuffer.put(DoubleBuffer src)
Writes all the remaining doubles of the
src double buffer to this buffer's current
position, and increases both buffers' position by the number of doubles copied. |
abstract DoubleBuffer |
DoubleBuffer.put(int index,
double d)
Write a double to the specified index of this buffer and the position is not changed.
|
abstract DoubleBuffer |
DoubleBuffer.slice()
Returns a sliced buffer that shares its content with this buffer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DoubleBuffer.compareTo(DoubleBuffer otherBuffer)
Compare the remaining doubles of this buffer to another double buffer's remaining doubles.
|
DoubleBuffer |
DoubleBuffer.put(DoubleBuffer src)
Writes all the remaining doubles of the
src double buffer to this buffer's current
position, and increases both buffers' position by the number of doubles copied. |
Copyright © 2019–2020. All rights reserved.