Compare commits
No commits in common. "1014ff515f3dcffe2595741ad891fd01fa649bd7" and "4419f6e8721e31b7037bbaed9bb4962151e52621" have entirely different histories.
1014ff515f
...
4419f6e872
|
@ -36,6 +36,7 @@ public class Axel {
|
|||
|
||||
spr.put("C1", "8");
|
||||
spr.put("C2", "2");
|
||||
|
||||
//
|
||||
|
||||
System.out.println(spr);
|
||||
|
@ -53,11 +54,10 @@ public class Axel {
|
|||
System.out.println("Do you want to load a csv File?(y/n)");
|
||||
readInput=sc.nextLine();
|
||||
if(readInput.equals("y")||readInput.equals("Y")) {
|
||||
System.out.println("Paste the filepath here:");
|
||||
System.out.println("Paste the filpath here:");
|
||||
readInput= sc.nextLine();
|
||||
path=readInput;
|
||||
spr.readCsv(path, ",", "A1");
|
||||
System.out.println(spr);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -136,10 +136,6 @@ public class Spreadsheet {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -626,18 +622,6 @@ public class Spreadsheet {
|
|||
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("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue