public static class ByteIterators.UnmodifiableListIterator extends Object implements ByteListIterator
| Modifier and Type | Field and Description |
|---|---|
protected ByteListIterator |
i |
| 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()
Returns the previous element as a primitive type.
|
int |
previousIndex() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, next, previous, remove, set, setback, skipforEachRemaining, forEachRemainingprotected final ByteListIterator i
public UnmodifiableListIterator(ByteListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorhasPrevious in interface BidirectionalIterator<Byte>hasPrevious in interface ListIterator<Byte>ListIterator.hasPrevious()public byte nextByte()
ByteIteratornextByte in interface ByteIteratorIterator.next()public byte previousByte()
ByteBidirectionalIteratorpreviousByte in interface ByteBidirectionalIteratorListIterator.previous()public int nextIndex()
nextIndex in interface ListIterator<Byte>public int previousIndex()
previousIndex in interface ListIterator<Byte>Copyright © 2020. All rights reserved.