static String[][] testArraySetAll() { String[][] array = new String[3][3]; Arrays.setAll(array, x -> { Arrays.setAll(array[x], y -> String.format("%c%c", letter(x), letter(y))); return array[x]; }); return array; }