Java tutorial
//package com.java2s; import java.util.Vector; public class Main { private static double[] vectorToDoubleArray(Vector<Double> vector) { int length = vector.size(); double[] retorno = new double[length]; for (int x = 0; x < length; x++) { retorno[x] = vector.get(x); } return retorno; } }