Package org.apache.druid.collections
Class CombiningIterator<T>
- java.lang.Object
-
- org.apache.druid.collections.CombiningIterator<T>
-
-
Constructor Summary
Constructors Constructor Description CombiningIterator(Iterator<T> it, Comparator<T> comparator, BinaryOperator<T> fn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> CombiningIterator<T>
create(Iterator<T> it, Comparator<T> comparator, BinaryOperator<T> fn)
boolean
hasNext()
T
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
CombiningIterator
public CombiningIterator(Iterator<T> it, Comparator<T> comparator, BinaryOperator<T> fn)
-
-
Method Detail
-
create
public static <T> CombiningIterator<T> create(Iterator<T> it, Comparator<T> comparator, BinaryOperator<T> fn)
-
-