Package org.bytedeco.javacpp.indexer
Class ULongArrayIndexer
- java.lang.Object
-
- org.bytedeco.javacpp.indexer.Indexer
-
- org.bytedeco.javacpp.indexer.ULongIndexer
-
- org.bytedeco.javacpp.indexer.ULongArrayIndexer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ULongArrayIndexer extends ULongIndexer
An indexer for along[]array, treated as unsigned.
-
-
Field Summary
Fields Modifier and Type Field Description protected long[]arrayThe backing array.-
Fields inherited from class org.bytedeco.javacpp.indexer.ULongIndexer
VALUE_BYTES
-
-
Constructor Summary
Constructors Constructor Description ULongArrayIndexer(long[] array)CallsULongArrayIndexer(array, Index.create(array.length)).ULongArrayIndexer(long[] array, long... sizes)CallsULongArrayIndexer(array, Index.create(sizes)).ULongArrayIndexer(long[] array, long[] sizes, long[] strides)CallsULongArrayIndexer(array, Index.create(sizes, strides)).ULongArrayIndexer(long[] array, Index index)Constructor to set thearrayandIndexer.index.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]array()Returns the backing array, ornullif nonejava.math.BigIntegerget(long i)Returnsarray/buffer[index(i)]java.math.BigIntegerget(long... indices)Returnsarray/buffer[index(indices)]ULongIndexerget(long[] indices, java.math.BigInteger[] l, int offset, int length)Returnsthiswherel[offset:offset + length] = array/buffer[index(indices)]java.math.BigIntegerget(long i, long j)Returnsarray/buffer[index(i, j)]java.math.BigIntegerget(long i, long j, long k)Returnsarray/buffer[index(i, j, k)]ULongIndexerget(long i, long j, java.math.BigInteger[] l, int offset, int length)Returnsthiswherel[offset:offset + length] = array/buffer[index(i, j)]ULongIndexerget(long i, java.math.BigInteger[] l, int offset, int length)Returnsthiswherel[offset:offset + length] = array/buffer[index(i)]ULongIndexerput(long[] indices, java.math.BigInteger l)Returnsthiswherearray/buffer[index(indices)] = lULongIndexerput(long[] indices, java.math.BigInteger[] l, int offset, int length)Returnsthiswherearray/buffer[index(indices)] = l[offset:offset + length]ULongIndexerput(long i, long j, long k, java.math.BigInteger l)Returnsthiswherearray/buffer[index(i, j, k)] = lULongIndexerput(long i, long j, java.math.BigInteger l)Returnsthiswherearray/buffer[index(i, j)] = lULongIndexerput(long i, long j, java.math.BigInteger[] l, int offset, int length)Returnsthiswherearray/buffer[index(i, j)] = l[offset:offset + length]ULongIndexerput(long i, java.math.BigInteger l)Returnsthiswherearray/buffer[index(i)] = lULongIndexerput(long i, java.math.BigInteger[] l, int offset, int length)Returnsthiswherearray/buffer[index(i)] = l[offset:offset + length]ULongIndexerreindex(Index index)Returns a new Indexer using the same data, but with a different Index.voidrelease()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
-
-
-
-
Constructor Detail
-
ULongArrayIndexer
public ULongArrayIndexer(long[] array)
CallsULongArrayIndexer(array, Index.create(array.length)).
-
ULongArrayIndexer
public ULongArrayIndexer(long[] array, long... sizes)CallsULongArrayIndexer(array, Index.create(sizes)).
-
ULongArrayIndexer
public ULongArrayIndexer(long[] array, long[] sizes, long[] strides)CallsULongArrayIndexer(array, Index.create(sizes, strides)).
-
ULongArrayIndexer
public ULongArrayIndexer(long[] array, Index index)Constructor to set thearrayandIndexer.index.
-
-
Method Detail
-
array
public long[] array()
Description copied from class:IndexerReturns the backing array, ornullif none
-
reindex
public ULongIndexer reindex(Index index)
Description copied from class:IndexerReturns a new Indexer using the same data, but with a different Index.
-
get
public java.math.BigInteger get(long i)
Description copied from class:ULongIndexerReturnsarray/buffer[index(i)]- Specified by:
getin classULongIndexer
-
get
public ULongIndexer get(long i, java.math.BigInteger[] l, int offset, int length)
Description copied from class:ULongIndexerReturnsthiswherel[offset:offset + length] = array/buffer[index(i)]- Specified by:
getin classULongIndexer
-
get
public java.math.BigInteger get(long i, long j)Description copied from class:ULongIndexerReturnsarray/buffer[index(i, j)]- Specified by:
getin classULongIndexer
-
get
public ULongIndexer get(long i, long j, java.math.BigInteger[] l, int offset, int length)
Description copied from class:ULongIndexerReturnsthiswherel[offset:offset + length] = array/buffer[index(i, j)]- Specified by:
getin classULongIndexer
-
get
public java.math.BigInteger get(long i, long j, long k)Description copied from class:ULongIndexerReturnsarray/buffer[index(i, j, k)]- Specified by:
getin classULongIndexer
-
get
public java.math.BigInteger get(long... indices)
Description copied from class:ULongIndexerReturnsarray/buffer[index(indices)]- Specified by:
getin classULongIndexer
-
get
public ULongIndexer get(long[] indices, java.math.BigInteger[] l, int offset, int length)
Description copied from class:ULongIndexerReturnsthiswherel[offset:offset + length] = array/buffer[index(indices)]- Specified by:
getin classULongIndexer
-
put
public ULongIndexer put(long i, java.math.BigInteger l)
Description copied from class:ULongIndexerReturnsthiswherearray/buffer[index(i)] = l- Specified by:
putin classULongIndexer
-
put
public ULongIndexer put(long i, java.math.BigInteger[] l, int offset, int length)
Description copied from class:ULongIndexerReturnsthiswherearray/buffer[index(i)] = l[offset:offset + length]- Specified by:
putin classULongIndexer
-
put
public ULongIndexer put(long i, long j, java.math.BigInteger l)
Description copied from class:ULongIndexerReturnsthiswherearray/buffer[index(i, j)] = l- Specified by:
putin classULongIndexer
-
put
public ULongIndexer put(long i, long j, java.math.BigInteger[] l, int offset, int length)
Description copied from class:ULongIndexerReturnsthiswherearray/buffer[index(i, j)] = l[offset:offset + length]- Specified by:
putin classULongIndexer
-
put
public ULongIndexer put(long i, long j, long k, java.math.BigInteger l)
Description copied from class:ULongIndexerReturnsthiswherearray/buffer[index(i, j, k)] = l- Specified by:
putin classULongIndexer
-
put
public ULongIndexer put(long[] indices, java.math.BigInteger l)
Description copied from class:ULongIndexerReturnsthiswherearray/buffer[index(indices)] = l- Specified by:
putin classULongIndexer
-
put
public ULongIndexer put(long[] indices, java.math.BigInteger[] l, int offset, int length)
Description copied from class:ULongIndexerReturnsthiswherearray/buffer[index(indices)] = l[offset:offset + length]- Specified by:
putin classULongIndexer
-
-