Package | Description |
---|---|
java.nio |
Defines buffers, which are containers for data, and provides an overview of the
other NIO packages.
|
Modifier and Type | Method and Description |
---|---|
static IntBuffer |
IntBuffer.allocate(int capacity)
Allocates a new int buffer.
|
abstract IntBuffer |
ByteBuffer.asIntBuffer()
Creates a view of this byte buffer as an int buffer.
|
abstract IntBuffer |
IntBuffer.asReadOnlyBuffer()
Creates a new, read-only int buffer that shares this buffer's
content.
|
abstract IntBuffer |
IntBuffer.compact()
Compacts this buffer (optional operation).
|
abstract IntBuffer |
IntBuffer.duplicate()
Creates a new int buffer that shares this buffer's content.
|
IntBuffer |
IntBuffer.get(int[] dst)
Relative bulk get method.
|
IntBuffer |
IntBuffer.get(int[] dst,
int offset,
int length)
Relative bulk get method.
|
abstract IntBuffer |
IntBuffer.put(int i)
Relative put method (optional operation).
|
IntBuffer |
IntBuffer.put(int[] src)
Relative bulk put method (optional operation).
|
IntBuffer |
IntBuffer.put(int[] src,
int offset,
int length)
Relative bulk put method (optional operation).
|
IntBuffer |
IntBuffer.put(IntBuffer src)
Relative bulk put method (optional operation).
|
abstract IntBuffer |
IntBuffer.put(int index,
int i)
Absolute put method (optional operation).
|
abstract IntBuffer |
IntBuffer.slice()
Creates a new int buffer whose content is a shared subsequence of
this buffer's content.
|
static IntBuffer |
IntBuffer.wrap(int[] array)
Wraps an int array into a buffer.
|
static IntBuffer |
IntBuffer.wrap(int[] array,
int offset,
int length)
Wraps an int array into a buffer.
|
Modifier and Type | Method and Description |
---|---|
int |
IntBuffer.compareTo(IntBuffer that)
Compares this buffer to another.
|
IntBuffer |
IntBuffer.put(IntBuffer 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, 2012, Oracle and/or its affiliates. All rights reserved.