Interface ResetableIterator<E>

  • All Superinterfaces:
    Iterator<E>

    public interface ResetableIterator<E>
    extends Iterator<E>
    This interface makes an Iterator resettable.
    • Method Detail

      • reset

        void reset()
        Sets the Iterator back to the first retrieved element. The already processed sequence of elements must be repeated.