Class ByteBigListIterators.BigListIteratorListIterator

java.lang.Object
it.unimi.dsi.fastutil.bytes.ByteBigListIterators.BigListIteratorListIterator
All Implemented Interfaces:
BidirectionalIterator<Byte>, BigListIterator<Byte>, ByteBidirectionalIterator, ByteBigListIterator, ByteIterator, ObjectBidirectionalIterator<Byte>, ObjectIterator<Byte>, Iterator<Byte>
Enclosing class:
ByteBigListIterators

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

    Modifier and Type Method Description
    void add​(byte 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.
    byte nextByte()
    Returns the next element as a primitive type.
    long nextIndex()
    Returns the index of the element that would be returned by a subsequent call to next.
    byte previousByte()
    Returns the previous element as a primitive type.
    long previousIndex()
    Returns the index of the element that would be returned by a subsequent call to previous.
    void remove()  
    void set​(byte 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.bytes.ByteBidirectionalIterator

    previous

    Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteBigListIterator

    add, set

    Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteIterator

    forEachRemaining, forEachRemaining, next