Interface LinkedListIterator<E>

  • All Superinterfaces:
    java.lang.AutoCloseable, java.util.Iterator<E>

    public interface LinkedListIterator<E>
    extends java.util.Iterator<E>, java.lang.AutoCloseable
    A LinkedListIterator This iterator allows the last element to be repeated in the next call to hasNext or next
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()  
      void repeat()  
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove
    • Method Detail

      • repeat

        void repeat()
      • close

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