Arrays.sort(rosterAsArray, Person::compareByAge);. The method reference Person::compareByAge is semantically the same as the lambda expression (a, ...
確定! 回上一頁