edu.washington.cs.knowitall.util
Class IterableAdapter<T>
java.lang.Object
edu.washington.cs.knowitall.util.IterableAdapter<T>
- All Implemented Interfaces:
- Iterable<T>
public class IterableAdapter<T>
- extends Object
- implements Iterable<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IterableAdapter
public IterableAdapter(Iterator<T> iter)
iterator
public Iterator<T> iterator()
- Specified by:
iterator in interface Iterable<T>
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.