static class SearchTree.MergingIterator<T>
extends com.google.common.collect.AbstractIterator<T>
Modifier and Type | Field and Description |
---|---|
private T |
left |
private java.util.Iterator<T> |
leftItr |
private it.unimi.dsi.fastutil.objects.Object2IntMap<T> |
numbers |
private T |
right |
private java.util.Iterator<T> |
rightItr |
Constructor and Description |
---|
MergingIterator(java.util.Iterator<T> leftIn,
java.util.Iterator<T> rightIn,
it.unimi.dsi.fastutil.objects.Object2IntMap<T> numbersIn) |
Modifier and Type | Method and Description |
---|---|
protected T |
computeNext() |
endOfData, hasNext, next, peek