java8 比较器 Collections.sort(annotationList, (o1,o2)->{ return new Integer(((ExcelField)o1[0]).sort()).compareTo( new Integer(((ExcelField)o2[0]).sort()) );});在JDK8 的编译环境下,形如上的代码会提... jdk8 2023-12-30 35 点赞 0 评论 53 浏览