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