Here you can find the source of convertDoubles(Double[] doubles)
public static double[] convertDoubles(Double[] doubles)
//package com.java2s; //License from project: Open Source License public class Main { public static double[] convertDoubles(Double[] doubles) { double[] ret = new double[doubles.length]; int i = 0; while (i < doubles.length) { ret[i] = doubles[i];/*from w ww . j a v a 2s . c om*/ i++; } return ret; } }