sortedWith (comparator: Comparator<in T>) 方法时由于SAM转换正确写法应该是 list.sortWith { a, b -> b - a }. 而目前则需要加上完整的 Comparator ...
確定! 回上一頁