MutableIterable
Classes that inherit from this interface can be represented as a sequence of elements that can be iterated over and that supports removing elements during iteration.
Since Kotlin
1.0Parameters
T
the type of element being iterated over. The mutable iterator is invariant in its element type.
Functions
Link copied to clipboard
Returns an iterator over the elements of this sequence that supports removing elements during iteration.
Since Kotlin 1.0
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