public final class SparsePaddedCircularArrayOffsetCalculator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static long |
REF_ARRAY_BASE |
private static int |
REF_ELEMENT_SHIFT |
(package private) static int |
SPARSE_SHIFT |
Modifier | Constructor and Description |
---|---|
private |
SparsePaddedCircularArrayOffsetCalculator() |
Modifier and Type | Method and Description |
---|---|
static <E> E[] |
allocate(int capacity) |
static long |
calcElementOffset(long index,
long mask) |