MutableCollection
A collection that supports insertion, removal and clearing.
Its implementation determines ordering, duplicate handling and iterator invalidation.
Type Parameters
T
element type.
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