Can I use identityHashCode to produce a compareTo between Objects respecting same-ness?

前端 未结 0 1758
走了就别回头了
走了就别回头了 2020-12-21 15:51

I want to implement a simple comparator between two Objects, whose only requirements are that

  1. it is a valid comparator (i.e. defines a linear order on all objec
相关标签:
回答
  • 消灭零回复
提交回复
热议问题