org.apache.commons.collections.primitives.decorators
Class ProxyDoubleIterator

java.lang.Object
  extended by org.apache.commons.collections.primitives.decorators.ProxyDoubleIterator
All Implemented Interfaces:
DoubleIterator
Direct Known Subclasses:
ProxyDoubleListIterator, UnmodifiableDoubleIterator

abstract class ProxyDoubleIterator
extends java.lang.Object
implements DoubleIterator

Since:
Commons Primitives 1.0
Version:
$Revision: 1.1 $ $Date: 2003/10/29 19:39:12 $
Author:
Rodney Waldhoff

Constructor Summary
ProxyDoubleIterator()
           
 
Method Summary
protected abstract  DoubleIterator getIterator()
           
 boolean hasNext()
          Returns true iff I have more elements.
 double next()
          Returns the next element in me.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.collections.primitives.DoubleIterator
remove
 

Constructor Detail

ProxyDoubleIterator

ProxyDoubleIterator()
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: DoubleIterator
Returns 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.)

Specified by:
hasNext in interface DoubleIterator
Returns:
true iff I have more elements

next

public double next()
Description copied from interface: DoubleIterator
Returns the next element in me.

Specified by:
next in interface DoubleIterator
Returns:
the next element in me

getIterator

protected abstract DoubleIterator getIterator()


Copyright (c) 2002-2003 - Apache Software Foundation