public class ShortRawIndexer extends ShortIndexer
ShortPointer using the Raw instance.Indexer.Index| Modifier and Type | Field and Description |
|---|---|
protected ShortPointer |
pointer
The backing pointer.
|
protected static org.bytedeco.javacpp.indexer.Raw |
RAW
The instance for the raw memory interface.
|
VALUE_BYTES| Constructor and Description |
|---|
ShortRawIndexer(ShortPointer pointer)
Calls
ShortRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
ShortRawIndexer(ShortPointer pointer,
long... sizes)
Calls
ShortRawIndexer(pointer, sizes, strides(sizes)). |
ShortRawIndexer(ShortPointer pointer,
long[] sizes,
long[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
short |
get(long... indices)
Returns
array/buffer[index(indices)] |
short |
get(long i)
Returns
array/buffer[index(i)] |
ShortIndexer |
get(long[] indices,
short[] s,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[index(indices)] |
short |
get(long i,
long j)
Returns
array/buffer[index(i, j)] |
short |
get(long i,
long j,
long k)
Returns
array/buffer[index(i, j, k)] |
ShortIndexer |
get(long i,
long j,
short[] s,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[index(i, j)] |
ShortIndexer |
get(long i,
short[] s,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[index(i)] |
short |
getRaw(long i) |
Pointer |
pointer()
Returns the backing pointer, or
null if none |
ShortIndexer |
put(long[] indices,
short s)
Returns
this where array/buffer[index(indices)] = s |
ShortIndexer |
put(long[] indices,
short[] s,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = s[offset:offset + length] |
ShortIndexer |
put(long i,
long j,
long k,
short s)
Returns
this where array/buffer[index(i, j, k)] = s |
ShortIndexer |
put(long i,
long j,
short s)
Returns
this where array/buffer[index(i, j)] = s |
ShortIndexer |
put(long i,
long j,
short[] s,
int offset,
int length)
Returns
this where array/buffer[index(i, j)] = s[offset:offset + length] |
ShortIndexer |
put(long i,
short s)
Returns
this where array/buffer[index(i)] = s |
ShortIndexer |
put(long i,
short[] s,
int offset,
int length)
Returns
this where array/buffer[index(i)] = s[offset:offset + length] |
ShortIndexer |
putRaw(long i,
short s) |
void |
release()
Makes sure changes are reflected onto the backing memory and clears any references.
|
create, create, create, create, create, create, create, create, create, create, get, get, get, getDouble, put, put, put, putDoubleprotected static final org.bytedeco.javacpp.indexer.Raw RAW
protected ShortPointer pointer
public ShortRawIndexer(ShortPointer pointer)
ShortRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }).public ShortRawIndexer(ShortPointer pointer, long... sizes)
ShortRawIndexer(pointer, sizes, strides(sizes)).public ShortRawIndexer(ShortPointer pointer, long[] sizes, long[] strides)
public Pointer pointer()
Indexernull if nonepublic short getRaw(long i)
public short get(long i)
ShortIndexerarray/buffer[index(i)]get in class ShortIndexerpublic ShortIndexer get(long i, short[] s, int offset, int length)
ShortIndexerthis where s[offset:offset + length] = array/buffer[index(i)]get in class ShortIndexerpublic short get(long i,
long j)
ShortIndexerarray/buffer[index(i, j)]get in class ShortIndexerpublic ShortIndexer get(long i, long j, short[] s, int offset, int length)
ShortIndexerthis where s[offset:offset + length] = array/buffer[index(i, j)]get in class ShortIndexerpublic short get(long i,
long j,
long k)
ShortIndexerarray/buffer[index(i, j, k)]get in class ShortIndexerpublic short get(long... indices)
ShortIndexerarray/buffer[index(indices)]get in class ShortIndexerpublic ShortIndexer get(long[] indices, short[] s, int offset, int length)
ShortIndexerthis where s[offset:offset + length] = array/buffer[index(indices)]get in class ShortIndexerpublic ShortIndexer putRaw(long i, short s)
public ShortIndexer put(long i, short s)
ShortIndexerthis where array/buffer[index(i)] = sput in class ShortIndexerpublic ShortIndexer put(long i, short[] s, int offset, int length)
ShortIndexerthis where array/buffer[index(i)] = s[offset:offset + length]put in class ShortIndexerpublic ShortIndexer put(long i, long j, short s)
ShortIndexerthis where array/buffer[index(i, j)] = sput in class ShortIndexerpublic ShortIndexer put(long i, long j, short[] s, int offset, int length)
ShortIndexerthis where array/buffer[index(i, j)] = s[offset:offset + length]put in class ShortIndexerpublic ShortIndexer put(long i, long j, long k, short s)
ShortIndexerthis where array/buffer[index(i, j, k)] = sput in class ShortIndexerpublic ShortIndexer put(long[] indices, short s)
ShortIndexerthis where array/buffer[index(indices)] = sput in class ShortIndexerpublic ShortIndexer put(long[] indices, short[] s, int offset, int length)
ShortIndexerthis where array/buffer[index(indices)] = s[offset:offset + length]put in class ShortIndexer