Package org.dmfs.jems2.iterator
Class Diff<Left,Right>
- java.lang.Object
-
- org.dmfs.jems2.iterator.BaseIterator<Pair<Optional<Left>,Optional<Right>>>
-
- org.dmfs.jems2.iterator.Diff<Left,Right>
-
public final class Diff<Left,Right> extends BaseIterator<Pair<Optional<Left>,Optional<Right>>>
AnIteratorreturning the differences of two given (sorted)Iterators. The inputIterators have to be sorted by the comparison criterion, otherwise the result is undefined.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Pair<Optional<Left>,Optional<Right>>next()-
Methods inherited from class org.dmfs.jems2.iterator.BaseIterator
equals, hashCode, remove
-
-