java.lang.IllegalStateException: stream has already been operated upon or closed

Stream 只能被使用一次 code DoubleStream ds = channelOrderList.stream().mapToDouble(o -> o.getPrincipal().doubleValue()); double sum = ds.sum(); long count = ds.count(); 因此代碼修改成ip double sum = channelOrderLis
相關文章
相關標籤/搜索