Interface ResetableIterator<E>

  • All Superinterfaces:
    java.util.Iterator<E>

    public interface ResetableIterator<E>
    extends java.util.Iterator<E>
    This interface makes an Iterator resetable.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void reset()
      Sets the Iterator back to the first retrieved element, the seen sequence of elements must be repeated.
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove
    • Method Detail

      • reset

        void reset()
        Sets the Iterator back to the first retrieved element, the seen sequence of elements must be repeated.