|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Nested Class Summary |
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator |
Method Summary |
||
default void |
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
|
default void |
forEachRemaining(DoubleConsumer action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
|
default Double |
next()
Returns the next element in the iteration.
|
|
double |
Returns the next double element in the iteration.
|
Methods inherited from interface java.util.Iterator |
double nextDouble |
() |
default void forEachRemaining |
(DoubleConsumer action) |
The behavior of an iterator is unspecified if the action modifies the source of elements in any way (even by calling the remove method or other mutator methods of Iterator subtypes), unless an overriding class has specified a concurrent modification policy.
Subsequent behavior of an iterator is unspecified if the action throws an exception.
The default implementation behaves as if:
while (hasNext())
action.accept(nextDouble());
default Double next |
() |
default void forEachRemaining |
The behavior of an iterator is unspecified if the action modifies the collection in any way (even by calling the remove method or other mutator methods of Iterator subtypes), unless an overriding class has specified a concurrent modification policy.
Subsequent behavior of an iterator is unspecified if the action throws an exception.
|
FlexDoc/Javadoc 2.0 Demo Java Doc |