Returns a set containing all elements that are contained by both this array and the specified collection.
The returned set preserves the element iteration order of the original array.
To get a set containing all elements that are contained at least in one of these collections use union.
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.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/intersect.html