Package | Description |
---|---|
java.nio |
Defines buffers, which are containers for data, and provides an
overview of the other NIO packages.
|
Modifier and Type | Method | Description |
---|---|---|
static DoubleBuffer |
DoubleBuffer.allocate(int capacity) |
Allocates a new double buffer.
|
abstract DoubleBuffer |
ByteBuffer.asDoubleBuffer() |
Creates a view of this byte buffer as a double buffer.
|
abstract DoubleBuffer |
DoubleBuffer.asReadOnlyBuffer() |
Creates a new, read-only double buffer that shares this buffer's
content.
|
DoubleBuffer |
DoubleBuffer.clear() |
Clears this buffer.
|
abstract DoubleBuffer |
DoubleBuffer.compact() |
Compacts this buffer (optional operation).
|
abstract DoubleBuffer |
DoubleBuffer.duplicate() |
Creates a new double buffer that shares this buffer's content.
|
DoubleBuffer |
DoubleBuffer.flip() |
Flips this buffer.
|
DoubleBuffer |
DoubleBuffer.get(double[] dst) |
Relative bulk get method.
|
DoubleBuffer |
DoubleBuffer.get(double[] dst,
int offset,
int length) |
Relative bulk get method.
|
DoubleBuffer |
DoubleBuffer.limit(int newLimit) |
Sets this buffer's limit.
|
DoubleBuffer |
DoubleBuffer.mark() |
Sets this buffer's mark at its position.
|
DoubleBuffer |
DoubleBuffer.position(int newPosition) |
Sets this buffer's position.
|
abstract DoubleBuffer |
DoubleBuffer.put(double d) |
Relative put method (optional operation).
|
DoubleBuffer |
DoubleBuffer.put(double[] src) |
Relative bulk put method (optional operation).
|
DoubleBuffer |
DoubleBuffer.put(double[] src,
int offset,
int length) |
Relative bulk put method (optional operation).
|
abstract DoubleBuffer |
DoubleBuffer.put(int index,
double d) |
Absolute put method (optional operation).
|
DoubleBuffer |
DoubleBuffer.put(DoubleBuffer src) |
Relative bulk put method (optional operation).
|
DoubleBuffer |
DoubleBuffer.reset() |
Resets this buffer's position to the previously-marked position.
|
DoubleBuffer |
DoubleBuffer.rewind() |
Rewinds this buffer.
|
abstract DoubleBuffer |
DoubleBuffer.slice() |
Creates a new double buffer whose content is a shared subsequence of
this buffer's content.
|
static DoubleBuffer |
DoubleBuffer.wrap(double[] array) |
Wraps a double array into a buffer.
|
static DoubleBuffer |
DoubleBuffer.wrap(double[] array,
int offset,
int length) |
Wraps a double array into a buffer.
|
Modifier and Type | Method | Description |
---|---|---|
int |
DoubleBuffer.compareTo(DoubleBuffer that) |
Compares this buffer to another.
|
DoubleBuffer |
DoubleBuffer.put(DoubleBuffer src) |
Relative bulk put method (optional operation).
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps