这是一个功能接口,因此可以用作lambda表达式或方法引用的赋值目标。 @FunctionalInterface public interface Comparator<T>. 比较函数,它对某些对象集合施加总排序。
確定! 回上一頁