public static void fill (boolean[] a, boolean val)

Assigns the specified boolean value to each element of the specified array of booleans.

Parameters:
a    the array to be filled
val    the value to be stored in all elements of the array