Here you can find the source of printArray(float[] array)
public static final void printArray(float[] array)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.List; public class Main { public static final void printArray(float[] array) { List<Float> output = new ArrayList<Float>(); for (float item : array) { output.add(item);/*ww w.jav a2 s. co m*/ } System.out.println(output); } }