intersect
infix fun <T, D : Dimension> MultiArray<T, D>.intersect(other: Iterable<T>): Set<T>
Content copied to clipboard
Returns a set containing all elements that are contained by both this collection and the specified collection.
The returned set preserves the element iteration order of the original collection.
To get a set containing all elements that are contained at least in one of these collections use union.