public static class ByteIterators.UnmodifiableBidirectionalIterator extends AbstractByteBidirectionalIterator
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(ByteBidirectionalIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
byte |
nextByte()
Returns the next element as a primitive type.
|
byte |
previousByte()
This implementation delegates to
AbstractByteBidirectionalIterator.previous(). |
back, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnext, skipskipforEachRemaining, removepublic UnmodifiableBidirectionalIterator(ByteBidirectionalIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public byte nextByte()
AbstractByteIteratorThis implementation delegates to the corresponding generic method.
nextByte in interface ByteIteratornextByte in class AbstractByteIteratorIterator.next()public byte previousByte()
AbstractByteBidirectionalIterator
This implementation delegates to AbstractByteBidirectionalIterator.previous().
previousByte in interface ByteBidirectionalIteratorpreviousByte in class AbstractByteBidirectionalIteratorListIterator.previous()