public static interface ByteString.ByteIterator extends Iterator<Byte>
Iterator<Byte>, so that we can return an unboxed byte.| Modifier and Type | Method and Description |
|---|---|
byte |
nextByte()
An alternative to
Iterator.next() that returns an unboxed primitive byte. |
byte nextByte()
Iterator.next() that returns an unboxed primitive byte.byte in the iterationNoSuchElementException - if the iteration has no more elements