Here you can find the source of fillArray(float filling, int length)
public static float[] fillArray(float filling, int length)
//package com.java2s; //License from project: CeCILL license public class Main { public static float[] fillArray(float filling, int length) { float[] fArray = new float[length]; for (int i = 0; i < length; i++) { fArray[i] = filling;//from w ww . j a v a 2 s . c o m } return fArray; } }