Package org.bytedeco.javacpp.indexer
Class ULongRawIndexer
java.lang.Object
org.bytedeco.javacpp.indexer.Indexer
org.bytedeco.javacpp.indexer.ULongIndexer
org.bytedeco.javacpp.indexer.ULongRawIndexer
- All Implemented Interfaces:
AutoCloseable
An indexer for a
LongPointer
using the Raw
instance, treated as unsigned.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final long
Base address and number of elements accessible.protected LongPointer
The backing pointer.protected static final Raw
The instance for the raw memory interface.(package private) final long
Base address and number of elements accessible.Fields inherited from class org.bytedeco.javacpp.indexer.ULongIndexer
VALUE_BYTES
-
Constructor Summary
ConstructorsConstructorDescriptionULongRawIndexer
(LongPointer pointer) CallsULongRawIndexer(pointer, Index.create(pointer.limit() - pointer.position()))
.ULongRawIndexer
(LongPointer pointer, long... sizes) CallsULongRawIndexer(pointer, Index.create(sizes))
.ULongRawIndexer
(LongPointer pointer, long[] sizes, long[] strides) CallsULongRawIndexer(pointer, Index.create(sizes, strides))
.ULongRawIndexer
(LongPointer pointer, Index index) Constructor to set thepointer
andIndexer.index
. -
Method Summary
Modifier and TypeMethodDescriptionget
(long i) Returnsarray/buffer[index(i)]
get
(long... indices) Returnsarray/buffer[index(indices)]
get
(long[] indices, BigInteger[] l, int offset, int length) Returnsthis
wherel[offset:offset + length] = array/buffer[index(indices)]
get
(long i, long j) Returnsarray/buffer[index(i, j)]
get
(long i, long j, long k) Returnsarray/buffer[index(i, j, k)]
get
(long i, long j, BigInteger[] l, int offset, int length) Returnsthis
wherel[offset:offset + length] = array/buffer[index(i, j)]
get
(long i, BigInteger[] l, int offset, int length) Returnsthis
wherel[offset:offset + length] = array/buffer[index(i)]
getRaw
(long i) pointer()
Returns the backing pointer, ornull
if noneput
(long[] indices, BigInteger l) Returnsthis
wherearray/buffer[index(indices)] = l
put
(long[] indices, BigInteger[] l, int offset, int length) Returnsthis
wherearray/buffer[index(indices)] = l[offset:offset + length]
put
(long i, long j, long k, BigInteger l) Returnsthis
wherearray/buffer[index(i, j, k)] = l
put
(long i, long j, BigInteger l) Returnsthis
wherearray/buffer[index(i, j)] = l
put
(long i, long j, BigInteger[] l, int offset, int length) Returnsthis
wherearray/buffer[index(i, j)] = l[offset:offset + length]
put
(long i, BigInteger l) Returnsthis
wherearray/buffer[index(i)] = l
put
(long i, BigInteger[] l, int offset, int length) Returnsthis
wherearray/buffer[index(i)] = l[offset:offset + length]
putRaw
(long i, BigInteger l) Returns a new Indexer using the same data, but with a different Index.void
release()
Makes sure changes are reflected onto the backing memory and clears any references.Methods inherited from class org.bytedeco.javacpp.indexer.ULongIndexer
create, create, create, create, create, create, create, create, create, create, create, create, create, create, fromBigInteger, get, get, get, getDouble, put, put, put, putDouble, toBigInteger
-
Field Details
-
RAW
The instance for the raw memory interface. -
pointer
The backing pointer. -
base
final long baseBase address and number of elements accessible. -
size
final long sizeBase address and number of elements accessible.
-
-
Constructor Details
-
ULongRawIndexer
CallsULongRawIndexer(pointer, Index.create(pointer.limit() - pointer.position()))
. -
ULongRawIndexer
CallsULongRawIndexer(pointer, Index.create(sizes))
. -
ULongRawIndexer
CallsULongRawIndexer(pointer, Index.create(sizes, strides))
. -
ULongRawIndexer
Constructor to set thepointer
andIndexer.index
.
-
-
Method Details
-
pointer
Description copied from class:Indexer
Returns the backing pointer, ornull
if none -
reindex
Description copied from class:Indexer
Returns a new Indexer using the same data, but with a different Index. -
getRaw
-
get
Description copied from class:ULongIndexer
Returnsarray/buffer[index(i)]
- Specified by:
get
in classULongIndexer
-
get
Description copied from class:ULongIndexer
Returnsthis
wherel[offset:offset + length] = array/buffer[index(i)]
- Specified by:
get
in classULongIndexer
-
get
Description copied from class:ULongIndexer
Returnsarray/buffer[index(i, j)]
- Specified by:
get
in classULongIndexer
-
get
Description copied from class:ULongIndexer
Returnsthis
wherel[offset:offset + length] = array/buffer[index(i, j)]
- Specified by:
get
in classULongIndexer
-
get
Description copied from class:ULongIndexer
Returnsarray/buffer[index(i, j, k)]
- Specified by:
get
in classULongIndexer
-
get
Description copied from class:ULongIndexer
Returnsarray/buffer[index(indices)]
- Specified by:
get
in classULongIndexer
-
get
Description copied from class:ULongIndexer
Returnsthis
wherel[offset:offset + length] = array/buffer[index(indices)]
- Specified by:
get
in classULongIndexer
-
putRaw
-
put
Description copied from class:ULongIndexer
Returnsthis
wherearray/buffer[index(i)] = l
- Specified by:
put
in classULongIndexer
-
put
Description copied from class:ULongIndexer
Returnsthis
wherearray/buffer[index(i)] = l[offset:offset + length]
- Specified by:
put
in classULongIndexer
-
put
Description copied from class:ULongIndexer
Returnsthis
wherearray/buffer[index(i, j)] = l
- Specified by:
put
in classULongIndexer
-
put
Description copied from class:ULongIndexer
Returnsthis
wherearray/buffer[index(i, j)] = l[offset:offset + length]
- Specified by:
put
in classULongIndexer
-
put
Description copied from class:ULongIndexer
Returnsthis
wherearray/buffer[index(i, j, k)] = l
- Specified by:
put
in classULongIndexer
-
put
Description copied from class:ULongIndexer
Returnsthis
wherearray/buffer[index(indices)] = l
- Specified by:
put
in classULongIndexer
-
put
Description copied from class:ULongIndexer
Returnsthis
wherearray/buffer[index(indices)] = l[offset:offset + length]
- Specified by:
put
in classULongIndexer
-
release
public void release()Description copied from class:Indexer
Makes sure changes are reflected onto the backing memory and clears any references.
-