public class ULongBufferIndexer extends ULongIndexer
LongBuffer, treated as unsigned.Indexer.Index| Modifier and Type | Field and Description |
|---|---|
protected java.nio.LongBuffer |
buffer
The backing buffer.
|
VALUE_BYTES| Constructor and Description |
|---|
ULongBufferIndexer(java.nio.LongBuffer buffer)
Calls
ULongBufferIndexer(buffer, { buffer.limit() }, { 1 }). |
ULongBufferIndexer(java.nio.LongBuffer buffer,
long... sizes)
Calls
ULongBufferIndexer(buffer, sizes, strides(sizes)). |
ULongBufferIndexer(java.nio.LongBuffer buffer,
long[] sizes,
long[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.Buffer |
buffer()
Returns the backing buffer, or
null if none |
java.math.BigInteger |
get(long... indices)
Returns
array/buffer[index(indices)] |
java.math.BigInteger |
get(long i)
Returns
array/buffer[index(i)] |
ULongIndexer |
get(long[] indices,
java.math.BigInteger[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(indices)] |
ULongIndexer |
get(long i,
java.math.BigInteger[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(i)] |
java.math.BigInteger |
get(long i,
long j)
Returns
array/buffer[index(i, j)] |
ULongIndexer |
get(long i,
long j,
java.math.BigInteger[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[index(i, j)] |
java.math.BigInteger |
get(long i,
long j,
long k)
Returns
array/buffer[index(i, j, k)] |
ULongIndexer |
put(long[] indices,
java.math.BigInteger l)
Returns
this where array/buffer[index(indices)] = l |
ULongIndexer |
put(long[] indices,
java.math.BigInteger[] l,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = l[offset:offset + length] |
ULongIndexer |
put(long i,
java.math.BigInteger l)
Returns
this where array/buffer[index(i)] = l |
ULongIndexer |
put(long i,
java.math.BigInteger[] l,
int offset,
int length)
Returns
this where array/buffer[index(i)] = l[offset:offset + length] |
ULongIndexer |
put(long i,
long j,
java.math.BigInteger l)
Returns
this where array/buffer[index(i, j)] = l |
ULongIndexer |
put(long i,
long j,
java.math.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,
java.math.BigInteger l)
Returns
this where array/buffer[index(i, j, k)] = 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, fromBigInteger, get, get, get, getDouble, put, put, put, putDouble, toBigIntegerpublic ULongBufferIndexer(java.nio.LongBuffer buffer)
ULongBufferIndexer(buffer, { buffer.limit() }, { 1 }).public ULongBufferIndexer(java.nio.LongBuffer buffer,
long... sizes)
ULongBufferIndexer(buffer, sizes, strides(sizes)).public ULongBufferIndexer(java.nio.LongBuffer buffer,
long[] sizes,
long[] strides)
public java.nio.Buffer buffer()
Indexernull if nonepublic java.math.BigInteger get(long i)
ULongIndexerarray/buffer[index(i)]get in class ULongIndexerpublic ULongIndexer get(long i, java.math.BigInteger[] l, int offset, int length)
ULongIndexerthis where l[offset:offset + length] = array/buffer[index(i)]get in class ULongIndexerpublic java.math.BigInteger get(long i,
long j)
ULongIndexerarray/buffer[index(i, j)]get in class ULongIndexerpublic ULongIndexer get(long i, long j, java.math.BigInteger[] l, int offset, int length)
ULongIndexerthis where l[offset:offset + length] = array/buffer[index(i, j)]get in class ULongIndexerpublic java.math.BigInteger get(long i,
long j,
long k)
ULongIndexerarray/buffer[index(i, j, k)]get in class ULongIndexerpublic java.math.BigInteger get(long... indices)
ULongIndexerarray/buffer[index(indices)]get in class ULongIndexerpublic ULongIndexer get(long[] indices, java.math.BigInteger[] l, int offset, int length)
ULongIndexerthis where l[offset:offset + length] = array/buffer[index(indices)]get in class ULongIndexerpublic ULongIndexer put(long i, java.math.BigInteger l)
ULongIndexerthis where array/buffer[index(i)] = lput in class ULongIndexerpublic ULongIndexer put(long i, java.math.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, java.math.BigInteger l)
ULongIndexerthis where array/buffer[index(i, j)] = lput in class ULongIndexerpublic ULongIndexer put(long i, long j, java.math.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, java.math.BigInteger l)
ULongIndexerthis where array/buffer[index(i, j, k)] = lput in class ULongIndexerpublic ULongIndexer put(long[] indices, java.math.BigInteger l)
ULongIndexerthis where array/buffer[index(indices)] = lput in class ULongIndexerpublic ULongIndexer put(long[] indices, java.math.BigInteger[] l, int offset, int length)
ULongIndexerthis where array/buffer[index(indices)] = l[offset:offset + length]put in class ULongIndexer