Set
A read-only collection containing no duplicate elements under its equality rules.
Read-only access does not guarantee immutability or a particular iteration order. HashSet aliases observe later mutations and allow null for nullable element types.
Type Parameters
T
element type.
See also
Inheritors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks whether this collection contains at least one element.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T, R : Any, C : MutableCollection<in R>> Iterable<T>.mapNotNullTo(destination: C, transform: (T) -> R?): C
Appends non-null transformed elements to destination in iteration order.
Link copied to clipboard
Link copied to clipboard