Learn how to append, prepend, or insert an element into a specific index position of a Java Stream instance
Java Streams Tutorials
Java 8 Streams is a lazily loaded and processed flow of elements that supports applying various transformations and manipulations using functional style API.
Sorting Collections with Java Streams API
Examples of using Java Streams API sorted() method to sort different Java Collections in ascending or descending order
Comparator with Java Lambda Expression Examples
Examples of Java Lambda Expression based Comparator implementation to sort collections in ascending or descending order
Sort HashMap by Value or Key in Java
Learn different techniques of Sorting HashMap by value or by key using Plain Java, Java. Streams API, TreeSet, TreeMap, or ArrayList.
Merging two Maps in Java
Examples of using Java Streams and Java Maps merge() methods to merge or combine key and value pairs of two Maps in Java
Using Filter on Stream of Maps in Java
Different examples of using plain Java and Java Streams API to filter elements of a Java Map based on given condition