Java Double Convert to convertdoubleToDouble(double[][] dbleArray)

Here you can find the source of convertdoubleToDouble(double[][] dbleArray)

Description

Converts a double array to a Double array.

License

Open Source License

Parameter

Parameter Description
dbleArray a parameter

Return

- Double array of values

Declaration

public static Double[][] convertdoubleToDouble(double[][] dbleArray) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**//  ww  w  . j a  v a2s  .c  o m
     * Converts a double array to a Double array.
     * 
     * @param dbleArray
     * @return - Double array of values
     */
    public static Double[][] convertdoubleToDouble(double[][] dbleArray) {
        Double[][] dblArrayToReturn = new Double[dbleArray.length][2];
        if (dbleArray != null) {
            for (int i = 0; i < dbleArray.length; i++) {
                int j = 0;
                dblArrayToReturn[i][j] = dbleArray[i][j];
                dblArrayToReturn[i][j + 1] = dbleArray[i][j + 1];
            }
        }
        return dblArrayToReturn;
    }
}

Related

  1. convertDoubleNumberFromSciNotation(String numberInScientificNotation)
  2. convertDoubles(Double[] doubles)
  3. convertDoubleShareToString(double shares)
  4. convertDoubleSizeToViPRLong(double size)
  5. convertDoublesToFloats(double[] input)
  6. convertDoubleToFloat(final double[][] doubleSeries)
  7. convertDoubleToLong(Double value)
  8. convertDoubleToPercentage(double doub)
  9. convertDoubleToShort(double value)