Beispiel #1
0
 public void removeTask(Theme theme, Task task) {
   for (int i = 0; i < themes.size(); i++) {
     if (themes.get(i).getId() == theme.getId()) {
       themes.get(i).removeTask(task);
     }
   }
 }
Beispiel #2
0
 public void editTheme(Theme theme) {
   for (int i = 0; i < themes.size(); i++) {
     if (themes.get(i).getId() == theme.getId()) {
       themes.set(i, theme);
     }
   }
 }