Java tutorial
import java.util.stream.DoubleStream; import java.util.stream.Stream; public class Main { public static void main(String[] args) { DoubleStream i = DoubleStream.of(1.0, 2.0, 3.3, 4.4, 5.5, 6.6, 7.7); Stream<Double> o = i.boxed(); o.forEach(System.out::println); } }