public static class ByteIterators.UnmodifiableBidirectionalIterator extends AbstractByteBidirectionalIterator
| Constructor and Description |
|---|
ByteIterators.UnmodifiableBidirectionalIterator(ByteBidirectionalIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
Byte |
next()
Delegates to the corresponding type-specific method.
|
byte |
nextByte()
Delegates to the corresponding generic method.
|
Byte |
previous()
Delegates to the corresponding type-specific method.
|
byte |
previousByte()
Delegates to the corresponding generic method.
|
backremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskippublic ByteIterators.UnmodifiableBidirectionalIterator(ByteBidirectionalIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public byte nextByte()
AbstractByteIteratornextByte in interface ByteIteratornextByte in class AbstractByteIteratorIterator.next()public byte previousByte()
AbstractByteBidirectionalIteratorpreviousByte in interface ByteBidirectionalIteratorpreviousByte in class AbstractByteBidirectionalIteratorListIterator.previous()public Byte next()
AbstractByteIteratornext in interface Iterator<Byte>next in class AbstractByteIteratorpublic Byte previous()
AbstractByteBidirectionalIteratorprevious in interface BidirectionalIterator<Byte>previous in class AbstractByteBidirectionalIteratorListIterator.previous()