sort a List from highest to lowest

前端 未结 1 1484
余生分开走
余生分开走 2021-01-06 07:40
List>

I want to sort the List by the int from highest to lowest.

相关标签:
1条回答
  • 2021-01-06 08:19

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

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

    0 讨论(0)
提交回复
热议问题