changes.mady.by.user Sansae
Saved on Dec 22, 2020
...
int d; //경과시간(단위: 날짜)
int elapsedTimeInDays; int daysSinceCreation; int daysSinceModification; int fileAgeInDays;
public List<int[]> getThem() { List<int[]> list1 = new ArrayList<int[]>(); for (int[] x : theList) if (x[0] == 4) list1.add(x); return list1; }
public List<int[]> getFlaggedCells() { List<int[]> flaggedCells = new ArrayList<int[]>(); for (int[] cell : gameBoard) if (cell[STATUS_VALUE] == FLAGGED) flaggedCells.add(cell); return flaggedCells; }