JAVA - how do I sort an ArrayList by an object element?

后端 未结 0 1123
一个人的身影
一个人的身影 2020-12-14 11:57

I wrote a working method to insert objects into arrayLists in my SortedArrayList class. The problem is, it sorts by the first letter of the first element of the ArrayList.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题