How can I override the compareTo() method in IntelliJ IDEA?

前端 未结 0 1910
长发绾君心
长发绾君心 2021-01-04 12:09

I want to override the compareTo() method in order to sort Objects(not primitive) in my ArrayList.

If I want to override methods, IntelliJ IDEA just give

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