Java BigDecimal bigDecimalListToArray(List list)

Here you can find the source of bigDecimalListToArray(List list)

Description

big Decimal List To Array

License

Apache License

Declaration

public static double[] bigDecimalListToArray(List<BigDecimal> list) 

Method Source Code

//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;
    }
}

Related

  1. areEqual(BigDecimal aThis, BigDecimal aThat)
  2. areEqual(BigDecimal first, BigDecimal second)
  3. asArray(final BigDecimal... elements)
  4. average(BigDecimal... values)
  5. average(final BigDecimal... numbers)
  6. bigDecimalObjectValue(Object input)
  7. bigDecimalParse(String value)
  8. bigDecimalPrint(BigDecimal value)
  9. bigDecimalProperty(ObjectNode node, String propertyName, BigDecimal propertyValue)