Here you can find the source of toBigDecimal(Vector
public static Vector<BigDecimal> toBigDecimal(Vector<Double> doubleVector)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; import java.util.Vector; public class Main { public static Vector<BigDecimal> toBigDecimal(Vector<Double> doubleVector) { Vector<BigDecimal> bigDecimalVector = null; if (doubleVector != null) { bigDecimalVector = new Vector<BigDecimal>(); for (Double d : doubleVector) { bigDecimalVector.add(new BigDecimal(d)); }//from w w w .j av a2 s. c o m } return bigDecimalVector; } }