Package repast.simphony.util.collections
Class IterableAdaptor<T>
java.lang.Object
repast.simphony.util.collections.IterableAdaptor<T>
- All Implemented Interfaces:
Iterable<T>
Adapts an iterator into an iterable.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
ConstructorDescriptionIterableAdaptor
(Iterator<T> iter) Creates an IterableAdaptor for the specified iterator. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator