## Uses of Class
java.nio.LongBuffer

Packages that use LongBuffer
Package | Description
--- | ---
java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages.

### Uses of LongBuffer in java.nio

Methods in java.nio that return LongBuffer
Modifier and Type | Method and 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.
`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.`get(long[] dst)` Relative bulk get method.
`LongBuffer` | LongBuffer.`get(long[] dst, int offset, int length)` Relative bulk get method.
`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).
`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.

Methods in java.nio with parameters of type LongBuffer
Modifier and Type | Method and Description
--- | ---
`int` | LongBuffer.`compareTo(LongBuffer that)` Compares this buffer to another.
`LongBuffer` | LongBuffer.`put(LongBuffer src)` Relative bulk put method (optional operation).

Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.