public final class Diff<Left,Right> extends AbstractBaseIterator<Pair<? extends Optional<? extends Left>,? extends Optional<? extends Right>>>
Iterator returning the differences of two given (sorted) Iterators. The input Iterators have to be sorted by the comparison
criterion, otherwise the result is undefined.| Constructor and Description |
|---|
Diff(java.util.Iterator<? extends Left> leftIterator,
java.util.Iterator<? extends Right> rightIterator,
BiFunction<? super Left,? super Right,java.lang.Integer> comparatorFunction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Pair<? extends Optional<? extends Left>,? extends Optional<? extends Right>> |
next() |
equals, hashCode, removepublic Diff(java.util.Iterator<? extends Left> leftIterator, java.util.Iterator<? extends Right> rightIterator, BiFunction<? super Left,? super Right,java.lang.Integer> comparatorFunction)