Interface LongListIterator

All Superinterfaces:
it.unimi.dsi.fastutil.BidirectionalIterator<Long>, Iterator<Long>, ListIterator<Long>, LongBidirectionalIterator, it.unimi.dsi.fastutil.longs.LongIterator, it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Long>, it.unimi.dsi.fastutil.objects.ObjectIterator<Long>, PrimitiveIterator<Long,LongConsumer>, PrimitiveIterator.OfLong
All Known Implementing Classes:
LongIterators.AbstractIndexBasedListIterator, LongIterators.EmptyIterator, LongIterators.UnmodifiableListIterator

public interface LongListIterator extends LongBidirectionalIterator, ListIterator<Long>
A type-specific bidirectional iterator that is also a ListIterator.

This interface merges the methods provided by a ListIterator and a type-specific BidirectionalIterator. Moreover, it provides type-specific versions of add() and set().

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface java.util.PrimitiveIterator

    PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    add(long k)
    Inserts the specified element into the list (optional operation).
    default void
    add(Long k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    default Long
    Deprecated.
    Please use the corresponding type-specific method instead.
    default Long
    Deprecated.
    Please use the corresponding type-specific method instead.
    default void
    Removes from the underlying collection the last element returned by this iterator (optional operation).
    default void
    set(long k)
    Replaces the last element returned by next() or previous() with the specified element (optional operation).
    default void
    set(Long k)
    Deprecated.
    Please use the corresponding type-specific method instead.

    Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator

    hasPrevious

    Methods inherited from interface java.util.ListIterator

    hasNext, hasPrevious, nextIndex, previousIndex

    Methods inherited from interface it.unimi.dsi.fastutil.longs.LongBidirectionalIterator

    back, previousLong, skip

    Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterator

    forEachRemaining, forEachRemaining, nextLong

    Methods inherited from interface java.util.PrimitiveIterator.OfLong

    forEachRemaining