public final class UnmodifiableDoubleIterator extends Object
Modifier and Type | Method and Description |
---|---|
protected DoubleIterator |
getIterator() |
boolean |
hasNext()
Returns
true iff I have more elements. |
double |
next()
Returns the next element in me.
|
void |
remove()
Removes from my underlying collection the last
element
returned by me
(optional operation). |
static DoubleIterator |
wrap(DoubleIterator iterator) |
public void remove()
DoubleIterator
returned
by me
(optional operation).protected DoubleIterator getIterator()
public static final DoubleIterator wrap(DoubleIterator iterator)
public boolean hasNext()
DoubleIterator
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.)hasNext
in interface DoubleIterator
true
iff I have more elementspublic double next()
DoubleIterator
next
in interface DoubleIterator
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.