Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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