Java Print 2D -Array als Tabelle
static void debugV2(Object... obj) {
System.out.println(Arrays.deepToString(obj)
.replace("],", "\n").replace(",", "\t")
.replaceAll("[\\[\\]]", " "));
}
static void debug(Object... obj) {
System.err.println(Arrays.deepToString(obj).replace("], ", "]\n"));
}
PRO_GrAMmER (IA Fahim)