public class OffsetList
extends java.lang.Object
The algorithms here use traversal of the list segments rather than recursion to avoid using a lot of stack space.
| Modifier and Type | Class and Description |
|---|---|
static class |
OffsetList.Segment
One segment of a OffsetList containing at most SEGMENT_CAPACITY values.
|
| Constructor and Description |
|---|
OffsetList() |
public boolean add(long value,
boolean checkDupOffsets)
public int size()
public long[] toArray()