Interface ByteListIterator

All Superinterfaces:
BidirectionalIterator<Byte>, ByteBidirectionalIterator, ByteIterator, Iterator<Byte>, ListIterator<Byte>, ObjectBidirectionalIterator<Byte>, ObjectIterator<Byte>
All Known Implementing Classes:
AbstractByteListIterator, ByteIterators.EmptyIterator, ByteIterators.UnmodifiableListIterator

public interface ByteListIterator
extends ByteBidirectionalIterator, ListIterator<Byte>
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:
ListIterator, BidirectionalIterator
  • Method Summary

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

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

    hasPrevious

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

    back, previousByte, skip

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

    forEachRemaining, forEachRemaining, nextByte

    Methods inherited from interface java.util.ListIterator

    hasNext, hasPrevious, nextIndex, previousIndex