所以也可以是這樣的用法,輸入是數字,回傳是字串。 val newStrList = listOf(1, 2, 3, 4, 5).map<Int, String> { "value $it" } ...
確定! 回上一頁