public static DoubleStream ofNullable ( double [ ] nullable ) { return null == nullable ? DoubleStream . empty ( ) : Arrays . stream ( nullable ) ; }
Converts nullable float array into an empty stream and non - null array into a stream .