Interface SparseList.Segment<E>

    • Method Detail

      • isPresent

        boolean isPresent()
      • getLength

        int getLength()
      • getPresentCount

        int getPresentCount()
      • getPresentCountBetween

        int getPresentCountBetween​(int from,
                                   int to)
      • isPresent

        boolean isPresent​(int index)
      • get

        java.util.Optional<E> get​(int index)
      • getOrThrow

        E getOrThrow​(int index)
      • setOrThrow

        void setOrThrow​(int index,
                        E elem)
      • appendTo

        java.util.List<E> appendTo​(java.util.List<E> acc)
      • appendRangeTo

        java.util.List<E> appendRangeTo​(java.util.List<E> acc,
                                        int from,
                                        int to)
      • possiblyDestructiveAppend

        boolean possiblyDestructiveAppend​(SparseList.Segment<E> suffix)
      • getStatsBetween

        default SparseList.Stats getStatsBetween​(int from,
                                                 int to)