Iterable
A source of elements that can be traversed with an Iterator.
The implementation determines iteration order. This read-only contract does not guarantee that the underlying elements or collection are immutable.
Type Parameters
T
element type.
Inheritors
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
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.