You can use reduce , it returns an Optional that is empty if the stream is empty. You can use map to create the csv (or reduce) and add the brackets and ...
確定! 回上一頁