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()
Deprecated.
Please use the corresponding type-specific method instead.
|
byte |
nextByte()
Delegates to the corresponding generic method.
|
int |
nextIndex() |
java.lang.Byte |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
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()
@Deprecated public java.lang.Byte next()
next
in interface java.util.Iterator<java.lang.Byte>
next
in interface java.util.ListIterator<java.lang.Byte>
next
in class AbstractByteIterator
@Deprecated public java.lang.Byte previous()
previous
in interface BidirectionalIterator<java.lang.Byte>
previous
in interface java.util.ListIterator<java.lang.Byte>
previous
in class AbstractByteBidirectionalIterator
ListIterator.previous()