From c72f625ad1ae5174a03e43bf3260b9c828998d11 Mon Sep 17 00:00:00 2001 From: I MUTHUKUMAR Date: Mon, 9 Nov 2020 23:08:50 +0800 Subject: [PATCH 1/3] Edit the portfolio --- docs/team/{muthu.md => syncode98.md} | 0 .../seedu/revised/card/task/TaskList.java | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+) rename docs/team/{muthu.md => syncode98.md} (100%) create mode 100644 src/main/java/seedu/revised/card/task/TaskList.java diff --git a/docs/team/muthu.md b/docs/team/syncode98.md similarity index 100% rename from docs/team/muthu.md rename to docs/team/syncode98.md diff --git a/src/main/java/seedu/revised/card/task/TaskList.java b/src/main/java/seedu/revised/card/task/TaskList.java new file mode 100644 index 0000000000..80a51dfed2 --- /dev/null +++ b/src/main/java/seedu/revised/card/task/TaskList.java @@ -0,0 +1,36 @@ +package seedu.revised.card.task; + +import seedu.revised.card.taskcard.Task; + +import java.util.ArrayList; +import java.util.Comparator; +import java.util.List; + +public class TaskList { + private List taskList; + + public TaskList(List taskList) { + this.taskList = taskList; + } + + /** + * Adds a Task into a TaskList. + * + * @param task The Task to add into a TaskList + */ + public void add(Task task) { + this.taskList.add(task); + + } + + /** + * Gets a ArrayList of Tasks in a TaskList instance. + * + * @return the ArrayList of Tasks + */ + public List getList() { + return this.taskList; + } + +} + From 82bf67921f707418645c0fbf16ac748ffefbeaa6 Mon Sep 17 00:00:00 2001 From: I MUTHUKUMAR Date: Mon, 9 Nov 2020 23:13:59 +0800 Subject: [PATCH 2/3] Updated the individual portfolio --- docs/team/syncode98.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/team/syncode98.md b/docs/team/syncode98.md index f7530b3e9f..e7c9ebe957 100644 --- a/docs/team/syncode98.md +++ b/docs/team/syncode98.md @@ -23,7 +23,7 @@ - Testing - The two test cases in the SubjectCommandTest and TopicCommandTest related to results.The other methods were created by [JiaLerk](https://github.com/jialerk). * **Enhancements implemented:** - * Implement printing of upcoming tasks in the application. + * Implement printing of upcoming tasks in the application[#141](https://github.com/AY2021S1-CS2113T-W13-1/tp/pull/141). * Implement Date and Time feature in Event and deadline classes. Furthermore, sorted the tasks according to their Date and Time [#84](https://github.com/AY2021S1-CS2113T-W13-1/tp/pull/84). From 2f6e1dbf7d4b11a496b5cd7f9cda4b393cae57f1 Mon Sep 17 00:00:00 2001 From: I MUTHUKUMAR <46095141+syncode98@users.noreply.github.com> Date: Mon, 9 Nov 2020 23:17:55 +0800 Subject: [PATCH 3/3] Delete TaskList.java --- .../seedu/revised/card/task/TaskList.java | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 src/main/java/seedu/revised/card/task/TaskList.java diff --git a/src/main/java/seedu/revised/card/task/TaskList.java b/src/main/java/seedu/revised/card/task/TaskList.java deleted file mode 100644 index 80a51dfed2..0000000000 --- a/src/main/java/seedu/revised/card/task/TaskList.java +++ /dev/null @@ -1,36 +0,0 @@ -package seedu.revised.card.task; - -import seedu.revised.card.taskcard.Task; - -import java.util.ArrayList; -import java.util.Comparator; -import java.util.List; - -public class TaskList { - private List taskList; - - public TaskList(List taskList) { - this.taskList = taskList; - } - - /** - * Adds a Task into a TaskList. - * - * @param task The Task to add into a TaskList - */ - public void add(Task task) { - this.taskList.add(task); - - } - - /** - * Gets a ArrayList of Tasks in a TaskList instance. - * - * @return the ArrayList of Tasks - */ - public List getList() { - return this.taskList; - } - -} -