java 7,8 排序异常

排序报

java.lang.IllegalArgumentException: Comparison method violates its general contract!



要明确返回-1, 0, 1 三个值
原文地址:https://www.cnblogs.com/mhc-fly/p/11140507.html