boolean (@NotNull List<? extends Task> tasks1, @NotNull List<? extends Task> tasks2) { if (tasks1.size() != tasks2.size()) return false; for (int i = 0; i < tasks1.size(); i++) { if (!tasksEqual(tasks1.get(i), tasks2.get(i))) { return false; } } return true; }