h2/src/tools/org/h2/java/util/Arrays.java
/**
     * Fill an array with the given value.
     *
     * @param array the array
     * @param x the value
     */
Fill an array with the given value.
@param array the array
@param x the value
Fill an array with the given value . @param array the array @param x the value
public static void fill(byte[] array, byte x) {
        for (int i = 0; i < array.length; i++) {
            array[i] = x;
        }
    }
public static void fill ( byte [ ] array , byte x ) { for ( int i = 0 ; i < array . length ; i ++ ) { array [ i ] = x ; } }
Fill an array with the given value.
Fill an array with the given value .