net.metanotion.functor
Class IteratorIterable<V>

java.lang.Object
  extended by net.metanotion.functor.IteratorIterable<V>
All Implemented Interfaces:
Block<java.lang.Iterable<V>,java.util.Iterator<V>>

public final class IteratorIterable<V>
extends java.lang.Object
implements Block<java.lang.Iterable<V>,java.util.Iterator<V>>


Constructor Summary
IteratorIterable()
           
 
Method Summary
static
<V> Block<V,java.util.Iterator>
chain(Block<V,? extends java.lang.Iterable> block)
           
 java.util.Iterator<V> eval(java.lang.Iterable<V> v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorIterable

public IteratorIterable()
Method Detail

chain

public static <V> Block<V,java.util.Iterator> chain(Block<V,? extends java.lang.Iterable> block)

eval

public java.util.Iterator<V> eval(java.lang.Iterable<V> v)
Specified by:
eval in interface Block<java.lang.Iterable<V>,java.util.Iterator<V>>