public static double[] toPrimitive(Double... a)
	{
		if (a != null) {
			double[] p = new double[a.length];
			for (int i = 0; i < a.length; i++) {
				p[i] = a[i];
			}
			return p;
		}
		return null;
	}
public static double[] toPrimitive(Double... a)
	{
		if (a != null) {
			double[] p = new double[a.length];
			for (int i = 0; i < a.length; i++) {
				p[i] = a[i];
			}
			return p;
		}
		return null;
	}
public static double [ ] toPrimitive ( Double ... a ) { if ( a != null ) { double [ ] p = new double [ a . length ] ; for ( int i = 0 ; i < a . length ; i ++ ) { p [ i ] = a [ i ] ; } return p ; } return null ; }
Converts an array of {@code Double}s to an array of {@code double}s.
Returns {@code null} if the given array is {@code null}. Does not
modify the input array.

@param a the {@code Double} array to convert.

@return the corresponding {@code double} array.

@throws NullPointerException if {@code a} contains a {@code null} value.
Converts an array of { @code Double } s to an array of { @code double } s . Returns { @code null } if the given array is { @code null } . Does not modify the input array .