public static class ByteIterators.UnmodifiableBidirectionalIterator extends AbstractByteBidirectionalIterator
Constructor and Description |
---|
ByteIterators.UnmodifiableBidirectionalIterator(ByteBidirectionalIterator 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.
|
Byte |
previous()
Delegates to the corresponding type-specific method.
|
byte |
previousByte()
Delegates to the corresponding generic method.
|
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
skip
public ByteIterators.UnmodifiableBidirectionalIterator(ByteBidirectionalIterator 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 Byte next()
AbstractByteIterator
next
in interface Iterator<Byte>
next
in class AbstractByteIterator
public Byte previous()
AbstractByteBidirectionalIterator
previous
in interface BidirectionalIterator<Byte>
previous
in class AbstractByteBidirectionalIterator
ListIterator.previous()