public class LongArrayIndexer extends LongIndexer
long[] array.| Modifier and Type | Field and Description |
|---|---|
protected long[] |
array
The backing array.
|
| Constructor and Description |
|---|
LongArrayIndexer(long[] array,
int[] sizes,
int[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
long[] |
array() |
long |
get(int... indices) |
long |
get(int i) |
LongIndexer |
get(int[] indices,
long[] l,
int offset,
int length) |
long |
get(int i,
int j) |
long |
get(int i,
int j,
int k) |
LongIndexer |
get(int i,
int j,
long[] l,
int offset,
int length) |
LongIndexer |
get(int i,
long[] l,
int offset,
int length) |
LongIndexer |
put(int[] indices,
long l) |
LongIndexer |
put(int[] indices,
long[] l,
int offset,
int length) |
LongIndexer |
put(int i,
int j,
int k,
long l) |
LongIndexer |
put(int i,
int j,
long l) |
LongIndexer |
put(int i,
int j,
long[] l,
int offset,
int length) |
LongIndexer |
put(int i,
long l) |
LongIndexer |
put(int i,
long[] l,
int offset,
int length) |
void |
release()
Makes sure changes are reflected onto the backing memory and releases any references.
|
create, create, create, create, get, get, get, getDouble, put, put, put, putDoublepublic LongArrayIndexer(long[] array,
int[] sizes,
int[] strides)
public long[] array()
public long get(int i)
get in class LongIndexerarray/buffer[i]public LongIndexer get(int i, long[] l, int offset, int length)
get in class LongIndexerthis where l[offset:offset + length] = array/buffer[i]public long get(int i,
int j)
get in class LongIndexerarray/buffer[i * strides[0] + j]public LongIndexer get(int i, int j, long[] l, int offset, int length)
get in class LongIndexerthis where l[offset:offset + length] = array/buffer[i * strides[0] + j]public long get(int i,
int j,
int k)
get in class LongIndexerarray/buffer[i * strides[0] + j * strides[1] + k]public long get(int... indices)
get in class LongIndexerarray/buffer[index(indices)]public LongIndexer get(int[] indices, long[] l, int offset, int length)
get in class LongIndexerthis where l[offset:offset + length] = array/buffer[index(indices)]public LongIndexer put(int i, long l)
put in class LongIndexerthis where array/buffer[i] = lpublic LongIndexer put(int i, long[] l, int offset, int length)
put in class LongIndexerthis where array/buffer[i] = l[offset:offset + length]public LongIndexer put(int i, int j, long l)
put in class LongIndexerthis where array/buffer[i * strides[0] + j] = lpublic LongIndexer put(int i, int j, long[] l, int offset, int length)
put in class LongIndexerthis where array/buffer[i * strides[0] + j] = l[offset:offset + length]public LongIndexer put(int i, int j, int k, long l)
put in class LongIndexerthis where array/buffer[i * strides[0] + j * strides[1] + k] = lpublic LongIndexer put(int[] indices, long l)
put in class LongIndexerthis where array/buffer[index(indices)] = lpublic LongIndexer put(int[] indices, long[] l, int offset, int length)
put in class LongIndexerthis where array/buffer[index(indices)] = l[offset:offset + length]Copyright © 2015. All Rights Reserved.