public class ULongBufferIndexer extends ULongIndexer
LongBuffer, treated as unsigned.| Modifier and Type | Field and Description |
|---|---|
protected LongBuffer |
buffer
The backing buffer.
|
VALUE_BYTESindexable, ONE_STRIDE, sizes, strides| Constructor and Description |
|---|
ULongBufferIndexer(LongBuffer buffer)
Calls
ULongBufferIndexer(buffer, { buffer.limit() }, { 1 }). |
ULongBufferIndexer(LongBuffer buffer,
long... sizes)
Calls
ULongBufferIndexer(buffer, sizes, strides(sizes)). |
ULongBufferIndexer(LongBuffer buffer,
long[] sizes,
long[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
buffer()
Returns the backing buffer, or
null if none |
BigInteger |
get(long... indices)
Returns
array/buffer[index(indices)] |
BigInteger |
get(long i)
Returns
array/buffer[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[i] |
BigInteger |
get(long i,
long j)
Returns
array/buffer[i * strides[0] + j] |
ULongIndexer |
get(long i,
long j,
BigInteger[] l,
int offset,
int length)
Returns
this where l[offset:offset + length] = array/buffer[i * strides[0] + j] |
BigInteger |
get(long i,
long j,
long k)
Returns
array/buffer[i * strides[0] + j * strides[1] + k] |
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[i] = l |
ULongIndexer |
put(long i,
BigInteger[] l,
int offset,
int length)
Returns
this where array/buffer[i] = l[offset:offset + length] |
ULongIndexer |
put(long i,
long j,
BigInteger l)
Returns
this where array/buffer[i * strides[0] + j] = l |
ULongIndexer |
put(long i,
long j,
BigInteger[] l,
int offset,
int length)
Returns
this where array/buffer[i * strides[0] + j] = l[offset:offset + length] |
ULongIndexer |
put(long i,
long j,
long k,
BigInteger l)
Returns
this where array/buffer[i * strides[0] + j * strides[1] + 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, toBigIntegerprotected LongBuffer buffer
public ULongBufferIndexer(LongBuffer buffer)
ULongBufferIndexer(buffer, { buffer.limit() }, { 1 }).public ULongBufferIndexer(LongBuffer buffer, long... sizes)
ULongBufferIndexer(buffer, sizes, strides(sizes)).public ULongBufferIndexer(LongBuffer buffer, long[] sizes, long[] strides)
public Buffer buffer()
Indexernull if nonepublic BigInteger get(long i)
ULongIndexerarray/buffer[i]get in class ULongIndexerpublic ULongIndexer get(long i, BigInteger[] l, int offset, int length)
ULongIndexerthis where l[offset:offset + length] = array/buffer[i]get in class ULongIndexerpublic BigInteger get(long i, long j)
ULongIndexerarray/buffer[i * strides[0] + 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[i * strides[0] + j]get in class ULongIndexerpublic BigInteger get(long i, long j, long k)
ULongIndexerarray/buffer[i * strides[0] + j * strides[1] + 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 put(long i, BigInteger l)
ULongIndexerthis where array/buffer[i] = lput in class ULongIndexerpublic ULongIndexer put(long i, BigInteger[] l, int offset, int length)
ULongIndexerthis where array/buffer[i] = l[offset:offset + length]put in class ULongIndexerpublic ULongIndexer put(long i, long j, BigInteger l)
ULongIndexerthis where array/buffer[i * strides[0] + j] = lput in class ULongIndexerpublic ULongIndexer put(long i, long j, BigInteger[] l, int offset, int length)
ULongIndexerthis where array/buffer[i * strides[0] + j] = l[offset:offset + length]put in class ULongIndexerpublic ULongIndexer put(long i, long j, long k, BigInteger l)
ULongIndexerthis where array/buffer[i * strides[0] + j * strides[1] + 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 © 2020. All rights reserved.