Package | Description |
---|---|
java.nio |
Defines buffers, which are containers for data.
|
Modifier and Type | Method and Description |
---|---|
ShortBuffer |
ByteBuffer.asShortBuffer()
Creates a view of this byte buffer as a short buffer.
|
ShortBuffer |
ShortBuffer.get(short[] dst)
Relative bulk get method.
|
ShortBuffer |
ShortBuffer.get(short[] dst,
int offset,
int length)
Relative bulk get method.
|
ShortBuffer |
ShortBuffer.put(int index,
short s)
Absolute put method (optional operation).
|
ShortBuffer |
ShortBuffer.put(short s)
Relative put method (optional operation).
|
ShortBuffer |
ShortBuffer.put(short[] src)
Relative bulk put method (optional operation).
|
ShortBuffer |
ShortBuffer.put(short[] src,
int offset,
int length)
Relative bulk put method (optional operation).
|
ShortBuffer |
ShortBuffer.put(ShortBuffer src)
Relative bulk put method (optional operation).
|
ShortBuffer |
ShortBuffer.slice()
Creates a new short buffer whose content is a shared subsequence of
this buffer's content.
|
static ShortBuffer |
ShortBuffer.wrap(short[] array)
Wraps a short array into a buffer.
|
static ShortBuffer |
ShortBuffer.wrap(short[] array,
int offset,
int length)
Wraps a short array into a buffer.
|
Modifier and Type | Method and Description |
---|---|
int |
ShortBuffer.compareTo(ShortBuffer that)
Compares this buffer to another.
|
ShortBuffer |
ShortBuffer.put(ShortBuffer src)
Relative bulk put method (optional operation).
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.