java 集合排序异常Exception in thread "main" java.lang.IllegalArgumentException: Comparison method violate

异常

Exception in thread "main" java.lang.IllegalArgumentException: Comparison 
method violates its general contract!

原因

转:

http://blog.csdn.net/sells2012/article/details/18947849

你可能感兴趣的:(java 集合排序异常Exception in thread "main" java.lang.IllegalArgumentException: Comparison method violate)