org.fun4j.functions
Class ConsIterator

java.lang.Object
  extended by org.fun4j.functions.ConsIterator
All Implemented Interfaces:
java.util.Iterator<java.lang.Object>

public class ConsIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Object>


Constructor Summary
ConsIterator(Cons input)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsIterator

public ConsIterator(Cons input)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<java.lang.Object>

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator<java.lang.Object>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<java.lang.Object>