public class ClosableMergingIterator<T1,T2,R> extends MergingIterator<T1,T2,R> implements ClosableIterator<R>
MergingIteratorleftIterator, rightIterator| Constructor and Description |
|---|
ClosableMergingIterator(ClosableIterator<T1> leftIterator,
ClosableIterator<T2> rightIterator,
BiFunction<T1,T2,R> mergeFunction) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
hasNext, nextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrapforEachRemaining, hasNext, next, removepublic ClosableMergingIterator(ClosableIterator<T1> leftIterator, ClosableIterator<T2> rightIterator, BiFunction<T1,T2,R> mergeFunction)
public void close()
close in interface AutoCloseableclose in interface ClosableIterator<R>Copyright © 2023 The Apache Software Foundation. All rights reserved.