开发者

sort a List<Tuple> from highest to lowest

开发者 https://www.devze.com 2023-01-21 17:31 出处:网络
List<Tuple<String, int[], int>> I want to 开发者_如何学编程sort the List by the int from highest to lowest.java.util.Collections.sort(list, Comparator)
List<Tuple<String, int[], int>>

I want to 开发者_如何学编程sort the List by the int from highest to lowest.


java.util.Collections.sort(list, Comparator)

You will need to write a Comparator<Tuple<String, int[], int>>

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号