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.
    void
    forEachRemaining(Consumer<? super K> action)
     
    boolean
     
    boolean
    Returns whether there is a previous element.
     
    long
    Returns the index of the element that would be returned by a subsequent call to next.
    Returns the previous element from the collection.
    long
    Returns the index of the element that would be returned by a subsequent call to previous.
    void
     
    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