Package org.reactfx.util
Interface SparseList.Segment<E>
- All Known Implementing Classes:
SparseList.AbsentSegment
,SparseList.PresentSegment
- Enclosing class:
SparseList<E>
private static interface SparseList.Segment<E>
-
Method Summary
Modifier and TypeMethodDescriptionappendRangeTo
(List<E> acc, int from, int to) get
(int index) int
getOrThrow
(int index) int
int
getPresentCountBetween
(int from, int to) default SparseList.Stats
getStatsBetween
(int from, int to) boolean
boolean
isPresent
(int index) boolean
possiblyDestructiveAppend
(SparseList.Segment<E> suffix) void
setOrThrow
(int index, E elem) subSegment
(int from, int to)
-
Method Details
-
isPresent
boolean isPresent() -
getLength
int getLength() -
getPresentCount
int getPresentCount() -
getPresentCountBetween
int getPresentCountBetween(int from, int to) -
isPresent
boolean isPresent(int index) -
get
-
getOrThrow
-
setOrThrow
-
appendTo
-
appendRangeTo
-
subSegment
-
possiblyDestructiveAppend
-
getStatsBetween
-