Package | Description |
---|---|
java.nio |
Defines buffers, which are containers for data, and provides an
overview of the other NIO packages.
|
java.util |
Contains the collections framework, legacy collection classes,
event model, date and time facilities, internationalization, and
miscellaneous utility classes (a string tokenizer, a random-number
generator, and a bit array).
|
Modifier and Type | Method | Description |
---|---|---|
static LongBuffer |
LongBuffer.allocate(int capacity) |
Allocates a new long buffer.
|
abstract LongBuffer |
ByteBuffer.asLongBuffer() |
Creates a view of this byte buffer as a long buffer.
|
abstract LongBuffer |
LongBuffer.asReadOnlyBuffer() |
Creates a new, read-only long buffer that shares this buffer's
content.
|
LongBuffer |
LongBuffer.clear() |
Clears this buffer.
|
abstract LongBuffer |
LongBuffer.compact() |
Compacts this buffer (optional operation).
|
abstract LongBuffer |
LongBuffer.duplicate() |
Creates a new long buffer that shares this buffer's content.
|
LongBuffer |
LongBuffer.flip() |
Flips this buffer.
|
LongBuffer |
LongBuffer.get(long[] dst) |
Relative bulk get method.
|
LongBuffer |
LongBuffer.get(long[] dst,
int offset,
int length) |
Relative bulk get method.
|
LongBuffer |
LongBuffer.limit(int newLimit) |
Sets this buffer's limit.
|
LongBuffer |
LongBuffer.mark() |
Sets this buffer's mark at its position.
|
LongBuffer |
LongBuffer.position(int newPosition) |
Sets this buffer's position.
|
abstract LongBuffer |
LongBuffer.put(int index,
long l) |
Absolute put method (optional operation).
|
abstract LongBuffer |
LongBuffer.put(long l) |
Relative put method (optional operation).
|
LongBuffer |
LongBuffer.put(long[] src) |
Relative bulk put method (optional operation).
|
LongBuffer |
LongBuffer.put(long[] src,
int offset,
int length) |
Relative bulk put method (optional operation).
|
LongBuffer |
LongBuffer.put(LongBuffer src) |
Relative bulk put method (optional operation).
|
LongBuffer |
LongBuffer.reset() |
Resets this buffer's position to the previously-marked position.
|
LongBuffer |
LongBuffer.rewind() |
Rewinds this buffer.
|
abstract LongBuffer |
LongBuffer.slice() |
Creates a new long buffer whose content is a shared subsequence of
this buffer's content.
|
static LongBuffer |
LongBuffer.wrap(long[] array) |
Wraps a long array into a buffer.
|
static LongBuffer |
LongBuffer.wrap(long[] array,
int offset,
int length) |
Wraps a long array into a buffer.
|
Modifier and Type | Method | Description |
---|---|---|
int |
LongBuffer.compareTo(LongBuffer that) |
Compares this buffer to another.
|
LongBuffer |
LongBuffer.put(LongBuffer src) |
Relative bulk put method (optional operation).
|
Modifier and Type | Method | Description |
---|---|---|
static BitSet |
BitSet.valueOf(LongBuffer lb) |
Returns a new bit set containing all the bits in the given long
buffer between its position and limit.
|
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-Debian+0-9b161-1