In practice, instead of using Stream.forEach , you'll usually want to return a Collection , or compute a final answer. This is called a reduction operation.
確定! 回上一頁