private void doubleStream(){
  double[] doubles=new double[]{2.4,4.2,6.3,8.5,10.1};
  DoubleStream doubleStream1=DoubleStream.of(doubles);
  doubleStream1.forEach(null);
  DoubleStream doubleStream2=DoubleStream.of(1.1,22.33,3.4);
  doubleStream2.forEach(null);
}

private void doubleStream ( ) { double [ ] doubles = new double [ ] { 2.4 , 4.2 , 6.3 , 8.5 , 10.1 } ; DoubleStream doubleStream1 = DoubleStream . of ( doubles ) ; doubleStream1 . forEach ( null ) ; DoubleStream doubleStream2 = DoubleStream . of ( 1.1 , 22.33 , 3.4 ) ; doubleStream2 . forEach ( null ) ; }
creating stream of doubles - doublestream
