Here you can find the source of bigDecimalListToArray(List
public static double[] bigDecimalListToArray(List<BigDecimal> list)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; import java.util.List; public class Main { public static double[] bigDecimalListToArray(List<BigDecimal> list) { double[] array = new double[list.size()]; for (int i = 0; i < list.size(); i++) { array[i] = list.get(i).doubleValue(); }// www .jav a2s . c o m return array; } }