| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static interface | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ToSemigroup | |
| private FingerTree |
| Access | Constructor and Description |
|---|---|
| public |
| SEGMENT_STATS | back to summary |
|---|---|
| private static final ToSemigroup<SparseList. | |
| tree | back to summary |
|---|---|
| private FingerTree<SparseList. | |
| SparseList | back to summary |
|---|---|
| public SparseList() | |
| append | back to summary |
|---|---|
| private FingerTree | |
| clear | back to summary |
|---|---|
| public void clear() | |
| collect | back to summary |
|---|---|
| public List | |
| collect | back to summary |
|---|---|
| public List | |
| emptyTree | back to summary |
|---|---|
| private static <E> FingerTree | |
| get | back to summary |
|---|---|
| public Optional | |
| getDepth | back to summary |
|---|---|
| pack-priv int getDepth() For testing only. | |
| getOrThrow | back to summary |
|---|---|
| public E getOrThrow(int index) | |
| getPresent | back to summary |
|---|---|
| public E getPresent(int presentIndex) | |
| getPresentCount | back to summary |
|---|---|
| public int getPresentCount() | |
| getPresentCountAfter | back to summary |
|---|---|
| public int getPresentCountAfter(int position) | |
| getPresentCountBefore | back to summary |
|---|---|
| public int getPresentCountBefore(int position) | |
| getPresentCountBetween | back to summary |
|---|---|
| public int getPresentCountBetween(int from, int to) | |
| getPresentItemsRange | back to summary |
|---|---|
| public IndexRange getPresentItemsRange() | |
| getTree | back to summary |
|---|---|
| pack-priv FingerTree For testing only. | |
| indexOfPresentItem | back to summary |
|---|---|
| public int indexOfPresentItem(int presentIndex) | |
| insert | back to summary |
|---|---|
| public void insert(int position, E elem) | |
| insertAll | back to summary |
|---|---|
| public void insertAll(int position, Collection<? extends E> elems) | |
| insertVoid | back to summary |
|---|---|
| public void insertVoid(int position, int length) | |
| isPresent | back to summary |
|---|---|
| public boolean isPresent(int index) | |
| join | back to summary |
|---|---|
| private FingerTree | |
| join | back to summary |
|---|---|
| private FingerTree | |
| join | back to summary |
|---|---|
| private FingerTree | |
| join | back to summary |
|---|---|
| private FingerTree | |
| locationToPosition | back to summary |
|---|---|
| private int locationToPosition(int major, int minor) | |
| remove | back to summary |
|---|---|
| public void remove(int index) | |
| remove | back to summary |
|---|---|
| public void remove(int from, int to) | |
| set | back to summary |
|---|---|
| public void set(int index, E elem) | |
| setIfAbsent | back to summary |
|---|---|
| public boolean setIfAbsent(int index, E elem) | |
| size | back to summary |
|---|---|
| public int size() | |
| splice | back to summary |
|---|---|
| public void splice(int from, int to, Collection<? extends E> elems) | |
| spliceByVoid | back to summary |
|---|---|
| public void spliceByVoid(int from, int to, int length) | |
| spliceSegments | back to summary |
|---|---|
| private void spliceSegments(int from, int to, List<SparseList. | |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public List | appendRangeTo(List<E> acc, int from, int to)
Implements org.
|
| public List | |
| public Optional | |
| public int | |
| public E | |
| public int | |
| public int | getPresentCountBetween(int from, int to)
Implements org.
|
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public SparseList. | |
| public String |
| length | back to summary |
|---|---|
| private int length | |
| AbsentSegment | back to summary |
|---|---|
| pack-priv AbsentSegment(int length) | |
| appendRangeTo | back to summary |
|---|---|
| public List Implements org.
| |
| appendTo | back to summary |
|---|---|
| public List Implements org.
| |
| get | back to summary |
|---|---|
| public Optional Implements org.
| |
| getLength | back to summary |
|---|---|
| public int getLength() Implements org.
| |
| getOrThrow | back to summary |
|---|---|
| public E getOrThrow(int index) Implements org.
| |
| getPresentCount | back to summary |
|---|---|
| public int getPresentCount() Implements org.
| |
| getPresentCountBetween | back to summary |
|---|---|
| public int getPresentCountBetween(int from, int to) Implements org.
| |
| isPresent | back to summary |
|---|---|
| public boolean isPresent() Implements org.
| |
| isPresent | back to summary |
|---|---|
| public boolean isPresent(int index) Implements org.
| |
| possiblyDestructiveAppend | back to summary |
|---|---|
| public boolean possiblyDestructiveAppend(SparseList. Implements org.
| |
| setOrThrow | back to summary |
|---|---|
| public void setOrThrow(int index, E elem) Implements org.
| |
| subSegment | back to summary |
|---|---|
| public SparseList. Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | appendRangeTo(List<E> acc, int from, int to)
Implements org.
|
| public List | |
| public Optional | |
| public int | |
| public E | |
| public int | |
| public int | getPresentCountBetween(int from, int to)
Implements org.
|
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public SparseList. | |
| public String |
| list | back to summary |
|---|---|
| private final List<E> list | |
| PresentSegment | back to summary |
|---|---|
| public PresentSegment(Collection<? extends E> c) | |
| appendRangeTo | back to summary |
|---|---|
| public List Implements org.
| |
| appendTo | back to summary |
|---|---|
| public List Implements org.
| |
| get | back to summary |
|---|---|
| public Optional Implements org.
| |
| getLength | back to summary |
|---|---|
| public int getLength() Implements org.
| |
| getOrThrow | back to summary |
|---|---|
| public E getOrThrow(int index) Implements org.
| |
| getPresentCount | back to summary |
|---|---|
| public int getPresentCount() Implements org.
| |
| getPresentCountBetween | back to summary |
|---|---|
| public int getPresentCountBetween(int from, int to) Implements org.
| |
| isPresent | back to summary |
|---|---|
| public boolean isPresent() Implements org.
| |
| isPresent | back to summary |
|---|---|
| public boolean isPresent(int index) Implements org.
| |
| possiblyDestructiveAppend | back to summary |
|---|---|
| public boolean possiblyDestructiveAppend(SparseList. Implements org.
| |
| setOrThrow | back to summary |
|---|---|
| public void setOrThrow(int index, E elem) Implements org.
| |
| subSegment | back to summary |
|---|---|
| public SparseList. Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public List | |
| public Optional | |
| public int | |
| public E | |
| public int | |
| public int | |
| public default SparseList. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public SparseList. |
| appendRangeTo | back to summary |
|---|---|
| public List | |
| appendTo | back to summary |
|---|---|
| public List | |
| get | back to summary |
|---|---|
| public Optional | |
| getLength | back to summary |
|---|---|
| public int getLength() | |
| getOrThrow | back to summary |
|---|---|
| public E getOrThrow(int index) | |
| getPresentCount | back to summary |
|---|---|
| public int getPresentCount() | |
| getPresentCountBetween | back to summary |
|---|---|
| public int getPresentCountBetween(int from, int to) | |
| getStatsBetween | back to summary |
|---|---|
| public default SparseList. | |
| isPresent | back to summary |
|---|---|
| public boolean isPresent() | |
| isPresent | back to summary |
|---|---|
| public boolean isPresent(int index) | |
| possiblyDestructiveAppend | back to summary |
|---|---|
| public boolean possiblyDestructiveAppend(SparseList. | |
| setOrThrow | back to summary |
|---|---|
| public void setOrThrow(int index, E elem) | |
| subSegment | back to summary |
|---|---|
| public SparseList. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final int | |
| private static final SparseList. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv int |
| presentCount | back to summary |
|---|---|
| pack-priv final int presentCount | |
| size | back to summary |
|---|---|
| pack-priv final int size | |
| ZERO | back to summary |
|---|---|
| private static final SparseList. | |
| Stats | back to summary |
|---|---|
| pack-priv Stats(int size, int presentCount) | |
| getPresentCount | back to summary |
|---|---|
| pack-priv int getPresentCount() | |
| getSize | back to summary |
|---|---|
| pack-priv int getSize() | |