Here you can find the source of longToDouble(long[] values)
public static double[] longToDouble(long[] values)
//package com.java2s; public class Main { public static double[] longToDouble(long[] values) { if (values == null) { return null; }// w ww .j a va 2 s.c om double[] results = new double[values.length]; for (int i = 0; i < values.length; i++) { results[i] = values[i]; } return results; } }