edu.washington.cs.knowitall.util
Class AbstractNestedIterator<S,T>

java.lang.Object
  extended by com.google.common.collect.UnmodifiableIterator<T>
      extended by com.google.common.collect.AbstractIterator<T>
          extended by edu.washington.cs.knowitall.util.AbstractNestedIterator<S,T>
All Implemented Interfaces:
java.util.Iterator<T>

public abstract class AbstractNestedIterator<S,T>
extends com.google.common.collect.AbstractIterator<T>


Constructor Summary
AbstractNestedIterator(java.lang.Iterable<S> outerIterable)
           
AbstractNestedIterator(java.util.Iterator<S> outer)
           
 
Method Summary
protected abstract  java.util.Iterator<T> computeInnerIterator(S object)
           
protected  T computeNext()
           
 
Methods inherited from class com.google.common.collect.AbstractIterator
endOfData, hasNext, next, peek
 
Methods inherited from class com.google.common.collect.UnmodifiableIterator
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNestedIterator

public AbstractNestedIterator(java.lang.Iterable<S> outerIterable)

AbstractNestedIterator

public AbstractNestedIterator(java.util.Iterator<S> outer)
Method Detail

computeInnerIterator

protected abstract java.util.Iterator<T> computeInnerIterator(S object)

computeNext

protected T computeNext()
Specified by:
computeNext in class com.google.common.collect.AbstractIterator<T>