public interface ByteIterator
byte
values.ByteIteratorIterator
,
IteratorByteIterator
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns
true iff I have more elements. |
byte |
next()
Returns the next element in me.
|
void |
remove()
Removes from my underlying collection the last
element
returned by me
(optional operation). |
boolean hasNext()
true
iff I have more elements.
(In other words, returns true
iff
a subsequent call to next
will return
an element rather than throwing an exception.)true
iff I have more elementsbyte next()
NoSuchElementException
- if there is no next elementvoid remove()
returned
by me
(optional operation).UnsupportedOperationException
- if this operation is not supportedIllegalStateException
- if next()
has not yet been
called, or remove()
has already been called since
the last call to next()
.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.