org.terracotta.modules.ehcache.store.bulkload
Class AggregateIterator<T>

java.lang.Object
  extended by org.terracotta.modules.ehcache.store.bulkload.AggregateIterator<T>
All Implemented Interfaces:
Iterator<T>

public class AggregateIterator<T>
extends Object
implements Iterator<T>


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

Field Detail

iterators

protected final Iterator<Iterator<T>> iterators

currentIterator

protected Iterator<T> currentIterator
Constructor Detail

AggregateIterator

public AggregateIterator(Collection<Iterator<T>> iterators)
Method Detail

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 © 2003-2013 Terracotta, Inc.. All Rights Reserved.