public class UShortBufferIndexer extends UShortIndexer
ShortBuffer, treated as unsigned.| Modifier and Type | Field and Description |
|---|---|
protected ShortBuffer |
buffer
The backing buffer.
|
| Constructor and Description |
|---|
UShortBufferIndexer(ShortBuffer buffer,
int[] sizes,
int[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
buffer() |
int |
get(int... indices) |
int |
get(int i) |
UShortIndexer |
get(int[] indices,
int[] s,
int offset,
int length) |
int |
get(int i,
int j) |
UShortIndexer |
get(int i,
int[] s,
int offset,
int length) |
int |
get(int i,
int j,
int k) |
UShortIndexer |
get(int i,
int j,
int[] s,
int offset,
int length) |
UShortIndexer |
put(int[] indices,
int s) |
UShortIndexer |
put(int[] indices,
int[] s,
int offset,
int length) |
UShortIndexer |
put(int i,
int s) |
UShortIndexer |
put(int i,
int[] s,
int offset,
int length) |
UShortIndexer |
put(int i,
int j,
int s) |
UShortIndexer |
put(int i,
int j,
int[] s,
int offset,
int length) |
UShortIndexer |
put(int i,
int j,
int k,
int s) |
void |
release()
Makes sure changes are reflected onto the backing memory and releases any references.
|
create, create, create, create, get, get, get, getDouble, put, put, put, putDoubleprotected ShortBuffer buffer
public UShortBufferIndexer(ShortBuffer buffer, int[] sizes, int[] strides)
public Buffer buffer()
public int get(int i)
get in class UShortIndexerarray/buffer[i]public UShortIndexer get(int i, int[] s, int offset, int length)
get in class UShortIndexerthis where s[offset:offset + length] = array/buffer[i]public int get(int i,
int j)
get in class UShortIndexerarray/buffer[i * strides[0] + j]public UShortIndexer get(int i, int j, int[] s, int offset, int length)
get in class UShortIndexerthis where s[offset:offset + length] = array/buffer[i * strides[0] + j]public int get(int i,
int j,
int k)
get in class UShortIndexerarray/buffer[i * strides[0] + j * strides[1] + k]public int get(int... indices)
get in class UShortIndexerarray/buffer[index(indices)]public UShortIndexer get(int[] indices, int[] s, int offset, int length)
get in class UShortIndexerthis where s[offset:offset + length] = array/buffer[index(indices)]public UShortIndexer put(int i, int s)
put in class UShortIndexerthis where array/buffer[i] = spublic UShortIndexer put(int i, int[] s, int offset, int length)
put in class UShortIndexerthis where array/buffer[i] = s[offset:offset + length]public UShortIndexer put(int i, int j, int s)
put in class UShortIndexerthis where array/buffer[i * strides[0] + j] = spublic UShortIndexer put(int i, int j, int[] s, int offset, int length)
put in class UShortIndexerthis where array/buffer[i * strides[0] + j] = s[offset:offset + length]public UShortIndexer put(int i, int j, int k, int s)
put in class UShortIndexerthis where array/buffer[i * strides[0] + j * strides[1] + k] = spublic UShortIndexer put(int[] indices, int s)
put in class UShortIndexerthis where array/buffer[index(indices)] = spublic UShortIndexer put(int[] indices, int[] s, int offset, int length)
put in class UShortIndexerthis where array/buffer[index(indices)] = s[offset:offset + length]Copyright © 2015. All Rights Reserved.