public final class Diff<Left,Right> extends java.lang.Object implements java.lang.Iterable<Pair<? extends Optional<? extends Left>,? extends Optional<? extends Right>>>
Iterable of the differences of two given Iterables. The Iterable must return their elements sorted by the comparison criterion.| Constructor and Description |
|---|
Diff(java.lang.Iterable<? extends Left> lefts,
java.lang.Iterable<? extends Right> rights,
BiFunction<? super Left,? super Right,java.lang.Integer> comparatorFunction) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Pair<? extends Optional<? extends Left>,? extends Optional<? extends Right>>> |
iterator() |
public Diff(java.lang.Iterable<? extends Left> lefts, java.lang.Iterable<? extends Right> rights, BiFunction<? super Left,? super Right,java.lang.Integer> comparatorFunction)