public class LongRawIndexer extends LongIndexer
LongPointer using the Raw instance.Indexer.Index| Modifier and Type | Field and Description |
|---|---|
protected LongPointer |
pointer
The backing pointer.
|
protected static org.bytedeco.javacpp.indexer.Raw |
RAW
The instance for the raw memory interface.
|
VALUE_BYTES| Constructor and Description |
|---|
LongRawIndexer(LongPointer pointer)
Calls
LongRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
LongRawIndexer(LongPointer pointer,
long... sizes)
Calls
LongRawIndexer(pointer, sizes, strides(sizes)). |
LongRawIndexer(LongPointer pointer,
long[] sizes,
long[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
long |
get(long... indices)
Returns
array/buffer[index(indices)] |
long |
get(long i)
Returns
array/buffer[index(i)] |
LongIndexer |
get(long[] indices,
long[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(indices)] |
long |
get(long i,
long j)
Returns
array/buffer[index(i, j)] |
LongIndexer |
get(long i,
long[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(i)] |
long |
get(long i,
long j,
long k)
Returns
array/buffer[index(i, j, k)] |
LongIndexer |
get(long i,
long j,
long[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(i, j)] |
long |
getRaw(long i) |
Pointer |
pointer()
Returns the backing pointer, or
null if none |
LongIndexer |
put(long[] indices,
long l)
Returns
this where array/buffer[index(indices)] = l |
LongIndexer |
put(long[] indices,
long[] l,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = l[offset:offset + length] |
LongIndexer |
put(long i,
long l)
Returns
this where array/buffer[index(i)] = l |
LongIndexer |
put(long i,
long[] l,
int offset,
int length)
Returns
this where array/buffer[index(i)] = l[offset:offset + length] |
LongIndexer |
put(long i,
long j,
long l)
Returns
this where array/buffer[index(i, j)] = l |
LongIndexer |
put(long i,
long j,
long[] l,
int offset,
int length)
Returns
this where array/buffer[index(i, j)] = l[offset:offset + length] |
LongIndexer |
put(long i,
long j,
long k,
long l)
Returns
this where array/buffer[index(i, j, k)] = l |
LongIndexer |
putRaw(long i,
long l) |
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 LongPointer pointer
public LongRawIndexer(LongPointer pointer)
LongRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }).public LongRawIndexer(LongPointer pointer, long... sizes)
LongRawIndexer(pointer, sizes, strides(sizes)).public LongRawIndexer(LongPointer pointer, long[] sizes, long[] strides)
public Pointer pointer()
Indexernull if nonepublic long getRaw(long i)
public long get(long i)
LongIndexerarray/buffer[index(i)]get in class LongIndexerpublic LongIndexer get(long i, long[] l, int offset, int length)
LongIndexerthis where l[offset:offset + length] = array/buffer[index(i)]get in class LongIndexerpublic long get(long i,
long j)
LongIndexerarray/buffer[index(i, j)]get in class LongIndexerpublic LongIndexer get(long i, long j, long[] l, int offset, int length)
LongIndexerthis where l[offset:offset + length] = array/buffer[index(i, j)]get in class LongIndexerpublic long get(long i,
long j,
long k)
LongIndexerarray/buffer[index(i, j, k)]get in class LongIndexerpublic long get(long... indices)
LongIndexerarray/buffer[index(indices)]get in class LongIndexerpublic LongIndexer get(long[] indices, long[] l, int offset, int length)
LongIndexerthis where l[offset:offset + length] = array/buffer[index(indices)]get in class LongIndexerpublic LongIndexer putRaw(long i, long l)
public LongIndexer put(long i, long l)
LongIndexerthis where array/buffer[index(i)] = lput in class LongIndexerpublic LongIndexer put(long i, long[] l, int offset, int length)
LongIndexerthis where array/buffer[index(i)] = l[offset:offset + length]put in class LongIndexerpublic LongIndexer put(long i, long j, long l)
LongIndexerthis where array/buffer[index(i, j)] = lput in class LongIndexerpublic LongIndexer put(long i, long j, long[] l, int offset, int length)
LongIndexerthis where array/buffer[index(i, j)] = l[offset:offset + length]put in class LongIndexerpublic LongIndexer put(long i, long j, long k, long l)
LongIndexerthis where array/buffer[index(i, j, k)] = lput in class LongIndexerpublic LongIndexer put(long[] indices, long l)
LongIndexerthis where array/buffer[index(indices)] = lput in class LongIndexerpublic LongIndexer put(long[] indices, long[] l, int offset, int length)
LongIndexerthis where array/buffer[index(indices)] = l[offset:offset + length]put in class LongIndexer