MutableSet
A set supporting insertion, removal and clearing without duplicate elements.
Adding an equal element leaves membership unchanged and returns false. Mutations are visible through read-only Set aliases. Iteration order follows the concrete implementation's contract.
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
Returns an iterator that can remove the most recently returned 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