org.aksw.commons.collections
Class PrefetchIterator<T>

java.lang.Object
  extended by org.aksw.commons.collections.PrefetchIterator<T>
All Implemented Interfaces:
Iterator<T>
Direct Known Subclasses:
ChainIterator

public abstract class PrefetchIterator<T>
extends Object
implements Iterator<T>

Created by Claus Stadler Date: Oct 9, 2010 Time: 5:39:36 PM


Constructor Summary
protected PrefetchIterator()
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
protected abstract  Iterator<T> prefetch()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefetchIterator

protected PrefetchIterator()
Method Detail

prefetch

protected abstract Iterator<T> prefetch()
                                 throws Exception
Throws:
Exception

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

next

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

remove

public void remove()
Specified by:
remove in interface Iterator<T>


Copyright © 2011. All Rights Reserved.