edu.washington.cs.knowitall.util
Class IterableAdapter<T>

java.lang.Object
  extended by edu.washington.cs.knowitall.util.IterableAdapter<T>
All Implemented Interfaces:
Iterable<T>

public class IterableAdapter<T>
extends Object
implements Iterable<T>


Constructor Summary
IterableAdapter(Iterator<T> iter)
           
 
Method Summary
 Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IterableAdapter

public IterableAdapter(Iterator<T> iter)
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>


Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.