public class ULongRawIndexer extends ULongIndexer
LongPointer using the Raw instance, treated as unsigned.| Modifier and Type | Field and Description |
|---|---|
(package private) long |
base
Base address and number of elements accessible.
|
protected LongPointer |
pointer
The backing pointer.
|
protected static Raw |
RAW
The instance for the raw memory interface.
|
(package private) long |
size
Base address and number of elements accessible.
|
VALUE_BYTES| Constructor and Description |
|---|
ULongRawIndexer(LongPointer pointer)
Calls
ULongRawIndexer(pointer, Index.create(pointer.limit() - pointer.position())). |
ULongRawIndexer(LongPointer pointer,
Index index)
Constructor to set the
pointer and Indexer.index. |
ULongRawIndexer(LongPointer pointer,
long... sizes)
Calls
ULongRawIndexer(pointer, Index.create(sizes)). |
ULongRawIndexer(LongPointer pointer,
long[] sizes,
long[] strides)
Calls
ULongRawIndexer(pointer, Index.create(sizes, strides)). |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
get(long... indices)
Returns
array/buffer[index(indices)] |
BigInteger |
get(long i)
Returns
array/buffer[index(i)] |
ULongIndexer |
get(long[] indices,
BigInteger[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(indices)] |
ULongIndexer |
get(long i,
BigInteger[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(i)] |
BigInteger |
get(long i,
long j)
Returns
array/buffer[index(i, j)] |
ULongIndexer |
get(long i,
long j,
BigInteger[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(i, j)] |
BigInteger |
get(long i,
long j,
long k)
Returns
array/buffer[index(i, j, k)] |
BigInteger |
getRaw(long i) |
Pointer |
pointer()
Returns the backing pointer, or
null if none |
ULongIndexer |
put(long[] indices,
BigInteger l)
Returns
this where array/buffer[index(indices)] = l |
ULongIndexer |
put(long[] indices,
BigInteger[] l,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = l[offset:offset + length] |
ULongIndexer |
put(long i,
BigInteger l)
Returns
this where array/buffer[index(i)] = l |
ULongIndexer |
put(long i,
BigInteger[] l,
int offset,
int length)
Returns
this where array/buffer[index(i)] = l[offset:offset + length] |
ULongIndexer |
put(long i,
long j,
BigInteger l)
Returns
this where array/buffer[index(i, j)] = l |
ULongIndexer |
put(long i,
long j,
BigInteger[] l,
int offset,
int length)
Returns
this where array/buffer[index(i, j)] = l[offset:offset + length] |
ULongIndexer |
put(long i,
long j,
long k,
BigInteger l)
Returns
this where array/buffer[index(i, j, k)] = l |
ULongIndexer |
putRaw(long i,
BigInteger l) |
ULongIndexer |
reindex(Index index)
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.
|
create, create, create, create, create, create, create, create, create, create, create, create, create, create, fromBigInteger, get, get, get, getDouble, put, put, put, putDouble, toBigIntegerprotected static final Raw RAW
protected LongPointer pointer
final long base
final long size
public ULongRawIndexer(LongPointer pointer)
ULongRawIndexer(pointer, Index.create(pointer.limit() - pointer.position())).public ULongRawIndexer(LongPointer pointer, long... sizes)
ULongRawIndexer(pointer, Index.create(sizes)).public ULongRawIndexer(LongPointer pointer, long[] sizes, long[] strides)
ULongRawIndexer(pointer, Index.create(sizes, strides)).public ULongRawIndexer(LongPointer pointer, Index index)
pointer and Indexer.index.public Pointer pointer()
Indexernull if nonepublic ULongIndexer reindex(Index index)
Indexerpublic BigInteger getRaw(long i)
public BigInteger get(long i)
ULongIndexerarray/buffer[index(i)]get in class ULongIndexerpublic ULongIndexer get(long i, BigInteger[] l, int offset, int length)
ULongIndexerthis where l[offset:offset + length] = array/buffer[index(i)]get in class ULongIndexerpublic BigInteger get(long i, long j)
ULongIndexerarray/buffer[index(i, j)]get in class ULongIndexerpublic ULongIndexer get(long i, long j, BigInteger[] l, int offset, int length)
ULongIndexerthis where l[offset:offset + length] = array/buffer[index(i, j)]get in class ULongIndexerpublic BigInteger get(long i, long j, long k)
ULongIndexerarray/buffer[index(i, j, k)]get in class ULongIndexerpublic BigInteger get(long... indices)
ULongIndexerarray/buffer[index(indices)]get in class ULongIndexerpublic ULongIndexer get(long[] indices, BigInteger[] l, int offset, int length)
ULongIndexerthis where l[offset:offset + length] = array/buffer[index(indices)]get in class ULongIndexerpublic ULongIndexer putRaw(long i, BigInteger l)
public ULongIndexer put(long i, BigInteger l)
ULongIndexerthis where array/buffer[index(i)] = lput in class ULongIndexerpublic ULongIndexer put(long i, BigInteger[] l, int offset, int length)
ULongIndexerthis where array/buffer[index(i)] = l[offset:offset + length]put in class ULongIndexerpublic ULongIndexer put(long i, long j, BigInteger l)
ULongIndexerthis where array/buffer[index(i, j)] = lput in class ULongIndexerpublic ULongIndexer put(long i, long j, BigInteger[] l, int offset, int length)
ULongIndexerthis where array/buffer[index(i, j)] = l[offset:offset + length]put in class ULongIndexerpublic ULongIndexer put(long i, long j, long k, BigInteger l)
ULongIndexerthis where array/buffer[index(i, j, k)] = lput in class ULongIndexerpublic ULongIndexer put(long[] indices, BigInteger l)
ULongIndexerthis where array/buffer[index(indices)] = lput in class ULongIndexerpublic ULongIndexer put(long[] indices, BigInteger[] l, int offset, int length)
ULongIndexerthis where array/buffer[index(indices)] = l[offset:offset + length]put in class ULongIndexerCopyright © 2024. All rights reserved.