sortWith (numberComparator) 複製代碼. 這麼寫完全行得通。看看代碼,doubleList直覺上應該接受Comparator<Double>及其子類,現在Comparator<Number> ...
確定! 回上一頁