public interface DoubleIterator
extends java.util.Iterator<java.lang.Double>
DoubleIterator
class adds an extra interface
method to return the next double value. This helps to save
allocating space for a new Double
object every time
the next double value is needed.Modifier and Type | Method and Description |
---|---|
double |
nextDouble() |