toList

abstract fun <T> toList(iterable: Iterable<T>): List<T>

Iterable 转换为 List.

Return

转换后的 List

Parameters

T

元素类型

iterable

需要转换的 Iterable