既然可以把集合或者数组转成流,那么也应该有对应的方法,将流转换回去—— collect() 方法就满足了这种需求。 public class CollectStreamDemo { public ...
確定! 回上一頁