org.apache.commons.collections.primitives.decorators
abstract class ProxyDoubleIterator extends java.lang.Object implements DoubleIterator
Constructor and Description |
---|
ProxyDoubleIterator() |
Modifier and Type | Method and Description |
---|---|
protected abstract DoubleIterator |
getIterator() |
boolean |
hasNext()
Returns
true iff I have more elements. |
double |
next()
Returns the next element in me.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
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
protected abstract DoubleIterator getIterator()
Copyright (c) 2002-2003 - Apache Software Foundation