示例代码如下:fun main() { val map = sortedMapOf(1 to 2, 3 to 1, 2 to 3) println(map) ... kotlin 排序:sort / Comparator / Comparable.
確定! 回上一頁