Here you can find the source of toDoubleArray(String[] in)
public static double[] toDoubleArray(String[] in)
//package com.java2s; public class Main { public static double[] toDoubleArray(String[] in) { double[] ret = new double[in.length]; for (int i = 0; i < in.length; i++) ret[i] = Double.parseDouble(in[i]); return ret; }/* ww w . j a v a 2 s. c o m*/ }