Java Primitive Type Create toPrimitive(Double[] vals)

Here you can find the source of toPrimitive(Double[] vals)

Description

to Primitive

License

LGPL

Declaration

public static double[] toPrimitive(Double[] vals) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static double[] toPrimitive(Double[] vals) {
        double[] v = new double[vals.length];
        for (int i = 0; i < v.length; i++) {
            v[i] = vals[i];/*w  ww.  j  a v a 2 s .co m*/
        }
        return v;
    }
}

Related

  1. toPrimitive(Class aClass)
  2. toPrimitive(Class clazz)
  3. toPrimitive(Double[] array)
  4. toPrimitive(Double[] array)
  5. toPrimitive(Double[] doubles)
  6. toPrimitive(final Boolean b)
  7. toPrimitive(final Character value, final char defaultValue)
  8. toPrimitive(final Double[] arr)
  9. toPrimitive(Float[] floats)