Java Sort List of Objects with Comparable

This tutorial shows you way to Sort List of Objects using Comparable example.

Related Post: Java Sort List of Objects with Comparator

How to do this with Kotlin: Sort List of Objects with Comparable

[Continue reading…] “Java Sort List of Objects with Comparable”

Java Sort List of Objects with Comparator

This tutorial shows you way to Sort List of Objects by implementing Comparator example.

Related Post: Java Sort List of Objects with Comparable

How to do this with Kotlin: Sort List of Objects with Comparator

[Continue reading…] “Java Sort List of Objects with Comparator”

Java 9 Factory Method for Collections: List, Set, Map

Java 9 provides new static factory methods for creating instances of collections and maps conveniently with small number of elements. In this tutorial, we’re gonna look at how to create List, Set, Map with Java 9 Factory Method for Collections.

[Continue reading…] “Java 9 Factory Method for Collections: List, Set, Map”

Java 8 – How to convert List to Map & Map to List

In the tutorial, JavaSampleApproach will guide you How to convert List to Map (Map to List) with Java 8.

Related Posts:
1. Java 8 – Lambda Expressions
2. Java 8 – Functional Interfaces
3. Java 8 – Method References

[Continue reading…] “Java 8 – How to convert List to Map & Map to List”