IterableListOpsExtensions<T> extension
List/set operations: difference, intersection, union, interleave.
- on
-
- Iterable<
T>
- Iterable<
Methods
-
difference(
Iterable< T> other) → List<T> -
Available on Iterable<
Elements in this iterable that are not inT> , provided by the IterableListOpsExtensions extensionother. Uses Object.== and hashCode. -
interleave(
Iterable< T> other) → List<T> -
Available on Iterable<
Interleaves this withT> , provided by the IterableListOpsExtensions extensionother:a0, b0, a1, b1, .... Stops when the shorter runs out. -
intersection(
Iterable< T> other) → List<T> -
Available on Iterable<
Elements that appear in both this andT> , provided by the IterableListOpsExtensions extensionother. -
union(
Iterable< T> other) → List<T> -
Available on Iterable<
Distinct union of this andT> , provided by the IterableListOpsExtensions extensionother(all elements, no duplicates).