You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given FileManagerExercise.java class, implement using streams, read the lines at data.txt file and count how many are different ignoring the first line. Also, count how many lines are different ignoring those lines starting with ‘==‘.
Given FileManagerExercise.java class, implement using streams and filter, read the lines at data.txt file and print them out ordered in ascending and descending order.
Given FileManagerExercise.java class, implement using streams, read the lines at data.txt file and count how many words are in each line. Also show the line and the count of words in the line using peek functionality.
Collect(Jse8_streams/src/main/java/part4):
Given the list at TransactionManagerExercise.java class, print the name of the traders. Also print the unique names sorted adding values to a TreeSet.
Given the list at TransactionManagerExercise.java class, print the unique (grouping) name of the traders and the sum of total amounts. Also print the unique names within the years when they have transactions in a new line.
Read the lines at data.txt file and verify all lines contains the text ‘lazy’.
Read the lines at data.txt file and print the first line which contains the text ‘cat’.
Given the list at TransactionManagerExercise.java class, print the transaction with the highest amount.
Given the list at TransactionManagerExercise.java class, print the transaction with the sum of all amounts within the last year of transaction.