1 parent a1a4445 commit 3b456d5Copy full SHA for 3b456d5
Common/src/utils/CommonUtils.java
@@ -144,6 +144,19 @@ public static void printMatrix(int[][] matrix) {
144
}
145
System.out.println("----------------------------------------------------");
146
147
+
148
+ public static void printMatrixGeneric(boolean[][] matrix) {
149
150
+ System.out.println("Matrix is: ");
151
+ for(boolean[] row : matrix){
152
+ for(boolean t : row){
153
+ System.out.print(t + "\t");
154
+ }
155
+ System.out.println();
156
157
+ System.out.println("----------------------------------------------------");
158
159
160
161
public static void print(List<String> list) {
162
0 commit comments