DoubleStream
Interface DoubleStream
- All Superinterfaces:
- AutoCloseable, BaseStream<Double,DoubleStream>
public interface DoubleStream extends BaseStream<Double,DoubleStream>
A sequence of primitive double-valued elements supporting sequential and parallel aggregate operations. This is the double
primitive specialization of Stream
.
The following example illustrates an aggregate operation using Stream
and DoubleStream
, computing the sum of the weights of the red widgets:
登录查看完整内容