Here you can find the source of convertLongArrayToDoubleArray(long[] values)
public static double[] convertLongArrayToDoubleArray(long[] values)
//package com.java2s; //License from project: Open Source License public class Main { public static double[] convertLongArrayToDoubleArray(long[] values) { double[] result = new double[values.length]; for (int i = 0; i < result.length; i++) { result[i] = values[i];/* www. j a v a2 s .c o m*/ } return result; } }