Package com.google.protobuf
Interface ByteString.ByteIterator
-
- Enclosing class:
- ByteString
public static interface ByteString.ByteIterator extends Iterator<Byte>
This interface extendsIterator<Byte>, so that we can return an unboxedbyte.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description bytenextByte()An alternative toIterator.next()that returns an unboxed primitivebyte.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
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
-
-