Interface SkippingLongIterator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long NOT_FOUND
      Special constant equivalent to Long.MIN_VALUE used to indicate that skipTo(long) function skipped further then the end of the iterator.
    • Field Detail

      • NOT_FOUND

        static final long NOT_FOUND
        Special constant equivalent to Long.MIN_VALUE used to indicate that skipTo(long) function skipped further then the end of the iterator.
        See Also:
        Constant Field Values
    • Method Detail

      • skipTo

        long skipTo​(long theValue)
        Returns the minimum value from this iterator that is greater than or equal to the given value or NOT_FOUND if there is no such value.
      • reset

        void reset()
        Resets the iterator to the beginning.
      • close

        default void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface CloseableLongIterator