This tutorial shows you how to find union and intersection of two Lists (ArrayLists).
This tutorial shows you how to manipulate Java 8 stream data sources or objects.
This tutorial explains you how to find first element from collection like List or Set using Java 8 streams findFirst(), iterator() and listIterator methods.
Below Java 8 examples shows how to convert from LocalDate to Date and vice versa.
You can convert LocalDate object to dd/MM/yyyy using atStartOfDay() methods of LocalDate class. There are two ways to convert LocalDate to dd/MM/yyyy string. Let’s see those in the below example.