1
0
Fork 0

Compare commits

..

No commits in common. "1014ff515f3dcffe2595741ad891fd01fa649bd7" and "4419f6e8721e31b7037bbaed9bb4962151e52621" have entirely different histories.

2 changed files with 2 additions and 18 deletions

View File

@ -36,6 +36,7 @@ public class Axel {
spr.put("C1", "8"); spr.put("C1", "8");
spr.put("C2", "2"); spr.put("C2", "2");
// //
System.out.println(spr); System.out.println(spr);
@ -53,11 +54,10 @@ public class Axel {
System.out.println("Do you want to load a csv File?(y/n)"); System.out.println("Do you want to load a csv File?(y/n)");
readInput=sc.nextLine(); readInput=sc.nextLine();
if(readInput.equals("y")||readInput.equals("Y")) { if(readInput.equals("y")||readInput.equals("Y")) {
System.out.println("Paste the filepath here:"); System.out.println("Paste the filpath here:");
readInput= sc.nextLine(); readInput= sc.nextLine();
path=readInput; path=readInput;
spr.readCsv(path, ",", "A1"); spr.readCsv(path, ",", "A1");
System.out.println(spr);
} }

View File

@ -136,10 +136,6 @@ public class Spreadsheet {
} }
/** /**
@ -626,18 +622,6 @@ public class Spreadsheet {
return endCell; return endCell;
} }
public void clearTable() {
int rows = cells.length;
int cols = cells[0].length;
for (int r = 0; r < rows; r++) {
for (int c = 0; c < cols; c++) {
cells[r][c].setValue("");
cells[r][c].setFormula("");
}
}
}
} }