org.apache.blur.utils
Class IteratorConverter<F,T,E extends Exception>

java.lang.Object
  extended by org.apache.blur.utils.IteratorConverter<F,T,E>
All Implemented Interfaces:
BlurIterator<T,E>

public class IteratorConverter<F,T,E extends Exception>
extends Object
implements BlurIterator<T,E>


Constructor Summary
IteratorConverter(BlurIterator<F,E> iterator, Converter<F,T,E> converter)
           
 
Method Summary
 long getPosition()
           
 boolean hasNext()
           
 T next()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorConverter

public IteratorConverter(BlurIterator<F,E> iterator,
                         Converter<F,T,E> converter)
Method Detail

hasNext

public boolean hasNext()
                throws E extends Exception
Specified by:
hasNext in interface BlurIterator<T,E extends Exception>
Throws:
E extends Exception

next

public T next()
       throws E extends Exception
Specified by:
next in interface BlurIterator<T,E extends Exception>
Throws:
E extends Exception

getPosition

public long getPosition()
                 throws E extends Exception
Specified by:
getPosition in interface BlurIterator<T,E extends Exception>
Throws:
E extends Exception


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.