public static class ByteIterators.UnmodifiableListIterator extends AbstractByteListIterator
Constructor and Description |
---|
ByteIterators.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, set
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
back
skip
skip
public ByteIterators.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 Byte next()
AbstractByteIterator
next
in interface Iterator<Byte>
next
in interface ListIterator<Byte>
next
in class AbstractByteIterator
public Byte previous()
AbstractByteBidirectionalIterator
previous
in interface BidirectionalIterator<Byte>
previous
in interface ListIterator<Byte>
previous
in class AbstractByteBidirectionalIterator
ListIterator.previous()