This tutorial will help to learn how to use LongStream to do the sum a Long values in Java 8. rangeClosed() method returns a sequential ordered LongStream elements base on start inclusive and end inclusive.
In this tutorial you will learn about forEach() and forEachOrdered() methods. How it impact while processing stream using parallel() method.
Learn how to create stream from String value in java 8.
In this tutorial you will learn about Java 8 Summary Statistics classes LongSummaryStatistics, IntSummaryStatistics and DoubleSummaryStatistics, It will help you to get count, min, max, sum, and average values.
In this tutorial you will learn about JarFile.stream() method. It return an ordered Stream over the ZIP file entries. Entries appear in the Stream in the order they appear in the central directory of the ZIP file.
In this tutorial you will learn about how to convert List to Map using Java 8 Collectors.toMap() api.
Learn how to use Java 8 StringJoiner class to join String elements using delimiter, prefix and suffix values.
In this tutorial you will learn how to read nth line from file using java 8 stream API.
In this tutorial you will learn how to Sort a Map using Java 8 Stream api. I am using Map to store data about top populous cities in the world in the form of key and value. We will cover different examples to sort map using keys, values, sorting in reverse order and find out top two populous cities.
In this tutorial you will how to find out word frequency count using Java 8 Stream api.