This commit is contained in:
GabrieleRadice
2026-04-25 18:44:51 +02:00
@@ -4,12 +4,12 @@ import java.util.*;
// Helper generale per costruire tabelle ASCII
public class AsciiTable {
private final BorderStyle s;
private final int cols, colWidth;
private final int cols;
private final List<List<String>> rows = new ArrayList<>();
private final List<Integer> separators = new ArrayList<>();
public AsciiTable(BorderStyle s, int cols, int colWidth) {
this.s = s; this.cols = cols; this.colWidth = colWidth;
public AsciiTable(BorderStyle s, int cols) {
this.s = s; this.cols = cols;
}
public void addRow(String... cells) { rows.add(Arrays.asList(cells)); }