public final class Diff<Left,Right> extends AbstractBaseIterator<Pair<Optional<Left>,Optional<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<Left> leftIterator,
java.util.Iterator<Right> rightIterator,
BiFunction<Left,Right,java.lang.Integer> comparatorFunction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Pair<Optional<Left>,Optional<Right>> |
next() |
equals, hashCode, remove