Class ShortBigListIterators.BigListIteratorListIterator

java.lang.Object
it.unimi.dsi.fastutil.shorts.ShortBigListIterators.BigListIteratorListIterator
All Implemented Interfaces:
BidirectionalIterator<Short>, BigListIterator<Short>, ObjectBidirectionalIterator<Short>, ObjectIterator<Short>, ShortBidirectionalIterator, ShortBigListIterator, ShortIterator, Iterator<Short>
Enclosing class:
ShortBigListIterators

public static class ShortBigListIterators.BigListIteratorListIterator
extends Object
implements ShortBigListIterator
A class exposing a list iterator as a big-list iterator..
  • Method Summary

    Modifier and Type Method Description
    void add​(short 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.
    long nextIndex()
    Returns the index of the element that would be returned by a subsequent call to next.
    short nextShort()
    Returns the next element as a primitive type.
    long previousIndex()
    Returns the index of the element that would be returned by a subsequent call to previous.
    short previousShort()
    Returns the previous element as a primitive type.
    void remove()  
    void set​(short 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 it.unimi.dsi.fastutil.shorts.ShortBidirectionalIterator

    previous

    Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortBigListIterator

    add, set

    Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterator

    forEachRemaining, forEachRemaining, next