Set
A generic unordered collection of elements that does not support duplicate elements. Methods in this interface support only read-only access to the set; read/write access is supported through the MutableSet interface.
Since Kotlin
1.0Parameters
E
the type of elements contained in the set. The set is covariant in its element type.
Functions
Link copied to clipboard
Checks if the specified element is contained in this collection.
Since Kotlin 1.0
Link copied to clipboard
Checks if all elements in the specified collection are contained in this collection.
Since Kotlin 1.0
Properties
Inheritors
Extensions
Link copied to clipboard
Link copied to clipboard
fun <C : MutableCollection<in R>, R> Iterable<*>.filterIsInstanceTo(destination: C, klass: Class<R>): C
Appends all elements that are instances of specified class to the given destination.
Since Kotlin 1.0
Link copied to clipboard
Link copied to clipboard
Returns a typed array containing all of the elements of this collection.
Since Kotlin 1.0