Here you can find the source of longToFloat(long[] values)
public static float[] longToFloat(long[] values)
//package com.java2s; public class Main { public static float[] longToFloat(long[] values) { if (values == null) { return null; }/*w ww. jav a2 s. co m*/ float[] results = new float[values.length]; for (int i = 0; i < values.length; i++) { results[i] = values[i]; } return results; } }