Interface MarkResetIterator<T>

    • Method Detail

      • mark

        void mark​(T mark)
        Creates a mark from the provided element.
      • resetToMark

        void resetToMark()
        Rewinds the position of the iterator to the previously marked element.
        Throws:
        java.util.NoSuchElementException - if there's no mark