diff --git a/src/se/edu/inclass/Main.java b/src/se/edu/inclass/Main.java index 3781393..f05e21a 100644 --- a/src/se/edu/inclass/Main.java +++ b/src/se/edu/inclass/Main.java @@ -18,9 +18,15 @@ public static void main(String[] args) { System.out.println("Printing deadlines"); printDeadlines(tasksData); - + //test comment System.out.println("Total number of deadlines: " + countDeadlines(tasksData)); + printDataUsingStreams(tasksData); + printDeadlinesUsingStreams(tasksData); + + System.out.println("Total number of deadlines using streams: " + countDeadlinesUsingStreams(tasksData)); + + } private static int countDeadlines(ArrayList tasksData) {