public interface FloatIterator extends Iterator<Float>
Iterator<Float>.
See the comparison of iteration ways in the library.
Iterators of updatable and immutable collections don't support Iterator.remove()
operation. More about mutability profiles.
FloatCollection.iterator()| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(FloatConsumer action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
float |
nextFloat()
Returns the next
float element in the iteration. |
float nextFloat()
float element in the iteration. This is a primitive specialization
of the Iterator.next() method.float element in the iterationNoSuchElementException - if the iteration has no more elementsvoid forEachRemaining(@Nonnull FloatConsumer action)
action - the action to be performed for each element