It accepts a Collector to accumulate elements of Stream into a specified Collection. The Collector class provides different methods like toList(), toSet(), ...
確定! 回上一頁