public class UShortRawIndexer extends UShortIndexer
ShortPointer using the Raw instance, treated as unsigned.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 |
|---|
UShortRawIndexer(ShortPointer pointer)
Calls
UShortRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
UShortRawIndexer(ShortPointer pointer,
long... sizes)
Calls
UShortRawIndexer(pointer, sizes, strides(sizes)). |
UShortRawIndexer(ShortPointer pointer,
long[] sizes,
long[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
int |
get(long... indices)
Returns
array/buffer[index(indices)] |
int |
get(long i)
Returns
array/buffer[index(i)] |
UShortIndexer |
get(long[] indices,
int[] s,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[index(indices)] |
UShortIndexer |
get(long i,
int[] s,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[index(i)] |
int |
get(long i,
long j)
Returns
array/buffer[index(i, j)] |
UShortIndexer |
get(long i,
long j,
int[] s,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[index(i, j)] |
int |
get(long i,
long j,
long k)
Returns
array/buffer[index(i, j, k)] |
int |
getRaw(long i) |
Pointer |
pointer()
Returns the backing pointer, or
null if none |
UShortIndexer |
put(long[] indices,
int s)
Returns
this where array/buffer[index(indices)] = s |
UShortIndexer |
put(long[] indices,
int[] s,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = s[offset:offset + length] |
UShortIndexer |
put(long i,
int s)
Returns
this where array/buffer[index(i)] = s |
UShortIndexer |
put(long i,
int[] s,
int offset,
int length)
Returns
this where array/buffer[index(i)] = s[offset:offset + length] |
UShortIndexer |
put(long i,
long j,
int s)
Returns
this where array/buffer[index(i, j)] = s |
UShortIndexer |
put(long i,
long j,
int[] s,
int offset,
int length)
Returns
this where array/buffer[index(i, j)] = s[offset:offset + length] |
UShortIndexer |
put(long i,
long j,
long k,
int s)
Returns
this where array/buffer[index(i, j, k)] = s |
UShortIndexer |
putRaw(long i,
int 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 UShortRawIndexer(ShortPointer pointer)
UShortRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }).public UShortRawIndexer(ShortPointer pointer, long... sizes)
UShortRawIndexer(pointer, sizes, strides(sizes)).public UShortRawIndexer(ShortPointer pointer, long[] sizes, long[] strides)
public Pointer pointer()
Indexernull if nonepublic int getRaw(long i)
public int get(long i)
UShortIndexerarray/buffer[index(i)]get in class UShortIndexerpublic UShortIndexer get(long i, int[] s, int offset, int length)
UShortIndexerthis where s[offset:offset + length] = array/buffer[index(i)]get in class UShortIndexerpublic int get(long i,
long j)
UShortIndexerarray/buffer[index(i, j)]get in class UShortIndexerpublic UShortIndexer get(long i, long j, int[] s, int offset, int length)
UShortIndexerthis where s[offset:offset + length] = array/buffer[index(i, j)]get in class UShortIndexerpublic int get(long i,
long j,
long k)
UShortIndexerarray/buffer[index(i, j, k)]get in class UShortIndexerpublic int get(long... indices)
UShortIndexerarray/buffer[index(indices)]get in class UShortIndexerpublic UShortIndexer get(long[] indices, int[] s, int offset, int length)
UShortIndexerthis where s[offset:offset + length] = array/buffer[index(indices)]get in class UShortIndexerpublic UShortIndexer putRaw(long i, int s)
public UShortIndexer put(long i, int s)
UShortIndexerthis where array/buffer[index(i)] = sput in class UShortIndexerpublic UShortIndexer put(long i, int[] s, int offset, int length)
UShortIndexerthis where array/buffer[index(i)] = s[offset:offset + length]put in class UShortIndexerpublic UShortIndexer put(long i, long j, int s)
UShortIndexerthis where array/buffer[index(i, j)] = sput in class UShortIndexerpublic UShortIndexer put(long i, long j, int[] s, int offset, int length)
UShortIndexerthis where array/buffer[index(i, j)] = s[offset:offset + length]put in class UShortIndexerpublic UShortIndexer put(long i, long j, long k, int s)
UShortIndexerthis where array/buffer[index(i, j, k)] = sput in class UShortIndexerpublic UShortIndexer put(long[] indices, int s)
UShortIndexerthis where array/buffer[index(indices)] = sput in class UShortIndexerpublic UShortIndexer put(long[] indices, int[] s, int offset, int length)
UShortIndexerthis where array/buffer[index(indices)] = s[offset:offset + length]put in class UShortIndexer