使用Lambda表达式,我们就可以不必编写 FunctionalInterface 接口的实现类,从而简化代码: Arrays.sort(array, (s1, s2) -> { return s1.
確定! 回上一頁