public static class ByteIterators.UnmodifiableListIterator extends AbstractByteListIterator
| Constructor and Description |
|---|
UnmodifiableListIterator(ByteListIterator 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.
|
int |
nextIndex() |
byte |
previousByte()
This implementation delegates to
AbstractByteBidirectionalIterator.previous(). |
int |
previousIndex() |
add, add, set, setback, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnext, previous, removeback, previousskipskipforEachRemainingpublic UnmodifiableListIterator(ByteListIterator 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()public int nextIndex()
public int previousIndex()