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 |
next()
Delegates to the corresponding type-specific method.
|
byte |
nextByte()
Delegates to the corresponding generic method.
|
int |
nextIndex() |
Byte |
previous()
Delegates to the corresponding type-specific method.
|
byte |
previousByte()
Delegates to the corresponding generic method.
|
int |
previousIndex() |
add, add, set, setbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremovebackskipskipforEachRemainingpublic UnmodifiableListIterator(ByteListIterator 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 int nextIndex()
public int previousIndex()
public Byte next()
AbstractByteIteratornext in interface Iterator<Byte>next in interface ListIterator<Byte>next in class AbstractByteIteratorpublic Byte previous()
AbstractByteBidirectionalIteratorprevious in interface BidirectionalIterator<Byte>previous in interface ListIterator<Byte>previous in class AbstractByteBidirectionalIteratorListIterator.previous()