kotlin.collections.forEach

forEach

inline fun <T> Iterator<T>.forEach(operation: (T) -> Unit)

Performs the given operation on each element of this Iterator.

inline fun <T> Iterable<T>.forEach(action: (T) -> Unit)
登录查看完整内容