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.
|
java.lang.Byte |
next()
Delegates to the corresponding type-specific method.
|
byte |
nextByte()
Delegates to the corresponding generic method.
|
int |
nextIndex() |
java.lang.Byte |
previous()
Delegates to the corresponding type-specific method.
|
byte |
previousByte()
Delegates to the corresponding generic method.
|
int |
previousIndex() |
add, add, set, set
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back
skip
skip
public UnmodifiableListIterator(ByteListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public byte nextByte()
AbstractByteIterator
nextByte
in interface ByteIterator
nextByte
in class AbstractByteIterator
Iterator.next()
public byte previousByte()
AbstractByteBidirectionalIterator
previousByte
in interface ByteBidirectionalIterator
previousByte
in class AbstractByteBidirectionalIterator
ListIterator.previous()
public int nextIndex()
public int previousIndex()
public java.lang.Byte next()
AbstractByteIterator
next
in interface java.util.Iterator<java.lang.Byte>
next
in interface java.util.ListIterator<java.lang.Byte>
next
in class AbstractByteIterator
public java.lang.Byte previous()
AbstractByteBidirectionalIterator
previous
in interface BidirectionalIterator<java.lang.Byte>
previous
in interface java.util.ListIterator<java.lang.Byte>
previous
in class AbstractByteBidirectionalIterator
ListIterator.previous()