Class ObjectBigListIterators.BigListIteratorListIterator<K>

java.lang.Object
it.unimi.dsi.fastutil.objects.ObjectBigListIterators.BigListIteratorListIterator<K>
All Implemented Interfaces:
BidirectionalIterator<K>, BigListIterator<K>, ObjectBidirectionalIterator<K>, ObjectBigListIterator<K>, ObjectIterator<K>, Iterator<K>
Enclosing class:
ObjectBigListIterators

public static class ObjectBigListIterators.BigListIteratorListIterator<K>
extends Object
implements ObjectBigListIterator<K>
A class exposing a list iterator as a big-list iterator..
  • Method Summary

    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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining