public static class ByteIterators.UnmodifiableIterator extends AbstractByteIterator
Constructor and Description |
---|
UnmodifiableIterator(ByteIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Byte |
next()
Delegates to the corresponding type-specific method.
|
byte |
nextByte()
Delegates to the corresponding generic method.
|
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public UnmodifiableIterator(ByteIterator i)
public boolean hasNext()
public byte nextByte()
AbstractByteIterator
nextByte
in interface ByteIterator
nextByte
in class AbstractByteIterator
Iterator.next()
public Byte next()
AbstractByteIterator
next
in interface Iterator<Byte>
next
in class AbstractByteIterator