com.ontotext.ordi.iterator
Class AggregationIteratorImpl<E>

java.lang.Object
  extended by com.ontotext.ordi.iterator.AggregationIteratorImpl<E>
All Implemented Interfaces:
CloseableIterator<E>, Iterator<E>

public class AggregationIteratorImpl<E>
extends Object
implements CloseableIterator<E>

This iterator is responsible to aggregate multiple data sets as unique.

Author:
vassil

Constructor Summary
AggregationIteratorImpl(CloseableIterator<E>... iters)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationIteratorImpl

public AggregationIteratorImpl(CloseableIterator<E>... iters)
Method Detail

remove

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

next

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

hasNext

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

close

public void close()
Specified by:
close in interface CloseableIterator<E>


Copyright © 2008. All Rights Reserved.