Class ObjectBigListIterators.BigListIteratorListIterator<K>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(K ok)
      Inserts the specified element into the list (optional operation).
      int back​(int n)
      Moves back for the given number of elements.
      long back​(long n)
      Moves back for the given number of elements.
      boolean hasNext()  
      boolean hasPrevious()
      Returns whether there is a previous element.
      K next()  
      long nextIndex()
      Returns the index of the element that would be returned by a subsequent call to next.
      K previous()
      Returns the previous element from the collection.
      long previousIndex()
      Returns the index of the element that would be returned by a subsequent call to previous.
      void remove()  
      void set​(K ok)
      Replaces the last element returned by next() or previous() with the specified element (optional operation).
      int skip​(int n)
      Skips the given number of elements.
      long skip​(long n)
      Skips the given number of elements.