The Stream collect() method in Java is a terminal operation and it can be used to accumulate elements of any Stream into a Collection.
確定! 回上一頁