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

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

public class ChainIterator<T>
extends PrefetchIterator<T>

Created by Claus Stadler Date: Oct 7, 2010 Time: 5:00:39 PM


Constructor Summary
ChainIterator(Collection<? extends Iterable<T>> metaContainer)
           
ChainIterator(Iterator<? extends Iterable<T>> metaIterator)
           
 
Method Summary
protected  Iterator<T> prefetch()
           
 
Methods inherited from class org.aksw.commons.collections.PrefetchIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainIterator

public ChainIterator(Iterator<? extends Iterable<T>> metaIterator)

ChainIterator

public ChainIterator(Collection<? extends Iterable<T>> metaContainer)
Method Detail

prefetch

protected Iterator<T> prefetch()
Specified by:
prefetch in class PrefetchIterator<T>


Copyright © 2011. All Rights Reserved.