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

java.lang.Object
  extended by org.apache.commons.collections.primitives.decorators.ProxyLongIterator
All Implemented Interfaces:
LongIterator
Direct Known Subclasses:
ProxyLongListIterator, UnmodifiableLongIterator

abstract class ProxyLongIterator
extends java.lang.Object
implements LongIterator

Since:
Commons Primitives 1.0
Version:
$Revision: 1.1 $ $Date: 2003/10/27 23:46:10 $
Author:
Rodney Waldhoff

Constructor Summary
ProxyLongIterator()
           
 
Method Summary
protected abstract  LongIterator getIterator()
           
 boolean hasNext()
          Returns true iff I have more elements.
 long 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.LongIterator
remove
 

Constructor Detail

ProxyLongIterator

ProxyLongIterator()
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: LongIterator
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 LongIterator
Returns:
true iff I have more elements

next

public long next()
Description copied from interface: LongIterator
Returns the next element in me.

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

getIterator

protected abstract LongIterator getIterator()


Copyright (c) 2002-2003 - Apache Software Foundation