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

        boolean skipTo​(long target)
        Moves the position to the minimal value that is greater than or equal to the target. Returns true, if such value exists, false otherwise.
      • 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