Interface ByteBidirectionalIterator

All Superinterfaces:
BidirectionalIterator<Byte>, ByteIterator, Iterator<Byte>, ObjectBidirectionalIterator<Byte>, ObjectIterator<Byte>
All Known Subinterfaces:
ByteBigListIterator, ByteListIterator
All Known Implementing Classes:
AbstractByteBidirectionalIterator, AbstractByteBigListIterator, AbstractByteListIterator, ByteBigListIterators.BigListIteratorListIterator, ByteBigListIterators.EmptyBigListIterator, ByteBigListIterators.UnmodifiableBigListIterator, ByteIterators.EmptyIterator, ByteIterators.UnmodifiableBidirectionalIterator, ByteIterators.UnmodifiableListIterator

public interface ByteBidirectionalIterator
extends ByteIterator, ObjectBidirectionalIterator<Byte>
A type-specific bidirectional iterator; provides an additional method to avoid (un)boxing, and the possibility to skip elements backwards.
See Also:
BidirectionalIterator
  • Method Summary

    Modifier and Type Method Description
    default int back​(int n)
    Moves back for the given number of elements.
    default Byte previous()
    Deprecated.
    Please use the corresponding type-specific method instead.
    byte previousByte()
    Returns the previous element as a primitive type.
    default int skip​(int n)
    Skips the given number of elements.

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

    hasPrevious

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

    forEachRemaining, forEachRemaining, next, nextByte

    Methods inherited from interface java.util.Iterator

    hasNext, remove