Here you can find the source of intToFloatArray(int[] ints)
public static Float[] intToFloatArray(int[] ints)
//package com.java2s; //License from project: Open Source License public class Main { public static Float[] intToFloatArray(int[] ints) { Float[] floats = new Float[ints.length]; for (int i = 0; i < ints.length; i++) { floats[i] = (float) ints[i]; }//from w w w.j a v a 2 s . com return floats; } }