V
- the storage array type.public class SparseArrayState<V> extends Object
Modifier and Type | Field and Description |
---|---|
protected static int[] |
empty
An empty array.
|
protected int[] |
indices
The physical indices.
|
protected int[] |
indirectionOffsets
The offsets into
indirections . |
protected int[] |
indirections
|
protected V |
values
The values.
|
Constructor and Description |
---|
SparseArrayState(V emptyValues,
int[] dims)
Alternate constructor.
|
SparseArrayState(V values,
int[] indices,
int[] indirectionOffsets,
int[] indirections)
Default constructor.
|
protected static final int[] empty
protected final V values
protected final int[] indices
protected final int[] indirectionOffsets
indirections
.protected final int[] indirections