(有坑)如何正确实现Comparator<T>接口
最近用户报告了一个crash,错误堆栈如下:java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeHi(TimSort.java:864) at java.util.TimSort.mergeAt(TimSort.java:
原创
2016-05-19 14:33:55 ·
2803 阅读 ·
0 评论