在jdk1.7环境下使用Collectons.sort()方法: 比如:Collections.sort(list, new Comparator<Integer>()); 比如:Collection 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交