如何把List转换成Map in Kotlin? 例如,我有一个string列表,如: val list = listOf("a", "b", "c", "d"). 我想把它转换成一个映射,其中的string是关键。
確定! 回上一頁