1.先实现Comparator的接口 重写compare方法 根据比较大小来返回数值: 比如:(Integer o1 - Integer o2);比 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交