From 0588d3fad80b23b6a5fc3ab87b1cab39ebee4b4e Mon Sep 17 00:00:00 2001 From: e0426051 Date: Fri, 18 Sep 2020 02:04:31 -0700 Subject: [PATCH] add methods to process data streams --- src/se/edu/inclass/Main.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/se/edu/inclass/Main.java b/src/se/edu/inclass/Main.java index 3781393..57f6b58 100644 --- a/src/se/edu/inclass/Main.java +++ b/src/se/edu/inclass/Main.java @@ -21,6 +21,8 @@ public static void main(String[] args) { System.out.println("Total number of deadlines: " + countDeadlines(tasksData)); + printDeadlinesUsingStreams(tasksData); + System.out.println("Total number of deadlines using streams: " + countDeadlinesUsingStreams(tasksData)); } private static int countDeadlines(ArrayList tasksData) {