question: public static String doubleArrayToString ( double [ ] value ) { if ( value == null ) { return ( "null" ) ; } if ( value . length == 0 ) { return ( "" ) ; } StringBuilder sb = new StringBuilder ( ) ; sb . append ( value [ 0 ] ) ; for ( int i = 1 ; i < value . length ; ++ i ) { sb . append ( "," + value [ i ] ) ; } return ( sb . toString ( ) ) ; }
target:  Convert a double array to a comma separated value string