net.metanotion.util
Class IteratorToIterable

java.lang.Object
  extended by net.metanotion.util.IteratorToIterable

public final class IteratorToIterable
extends java.lang.Object


Constructor Summary
IteratorToIterable()
           
 
Method Summary
static
<E> java.util.List<E>
pump(java.util.Iterator<E> i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorToIterable

public IteratorToIterable()
Method Detail

pump

public static <E> java.util.List<E> pump(java.util.Iterator<E> i)