Interface ByteString.ByteIterator
- All Known Implementing Classes:
ByteString.AbstractByteIterator
- Enclosing class:
ByteString
-
Method Summary
Modifier and TypeMethodDescriptionbytenextByte()An alternative toIterator.next()that returns an unboxed primitivebyte.Methods inherited from interface Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
nextByte
byte nextByte()An alternative toIterator.next()that returns an unboxed primitivebyte.- Returns:
- the next
bytein the iteration - Throws:
NoSuchElementException- if the iteration has no more elements
-