BidirectionalIterator<java.lang.Byte>, ByteIterator, java.util.Iterator<java.lang.Byte>, ObjectBidirectionalIterator<java.lang.Byte>, ObjectIterator<java.lang.Byte>ByteBigListIterator, ByteListIteratorAbstractByteBidirectionalIterator, AbstractByteBigListIterator, AbstractByteListIterator, ByteBigListIterators.BigListIteratorListIterator, ByteBigListIterators.EmptyBigListIterator, ByteBigListIterators.UnmodifiableBigListIterator, ByteIterators.EmptyIterator, ByteIterators.UnmodifiableBidirectionalIterator, ByteIterators.UnmodifiableListIteratorpublic interface ByteBidirectionalIterator extends ByteIterator, ObjectBidirectionalIterator<java.lang.Byte>
BidirectionalIterator| Modifier and Type | Method | Description |
|---|---|---|
default int |
back(int n) |
Moves back for the given number of elements.
|
default java.lang.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.
|
hasPreviousforEachRemaining, forEachRemaining, next, nextBytebyte previousByte()
ListIterator.previous()@Deprecated default java.lang.Byte previous()
previous in interface BidirectionalIterator<java.lang.Byte>ListIterator.previous()default int back(int n)
The effect of this call is exactly the same as that of calling
previous() for n times (possibly stopping if
BidirectionalIterator.hasPrevious() becomes false).
back in interface ObjectBidirectionalIterator<java.lang.Byte>n - the number of elements to skip back.previous()default int skip(int n)
The effect of this call is exactly the same as that of calling
ByteIterator.next() for n times (possibly stopping if Iterator.hasNext()
becomes false).
skip in interface ByteIteratorskip in interface ObjectBidirectionalIterator<java.lang.Byte>skip in interface ObjectIterator<java.lang.Byte>n - the number of elements to skip.Iterator.next()