A focused guide to Java HashSet and its behaviour. Learn how and when to use HashSet along with plenty of examples.
Java Collections Tutorials
Java Collections is a framework that supports various data structures and related operations
Introduction to Java Collections Set Interface
An Introduction to Java Set collections interface. Learn what is Set and how is it different than other collections of Java.
How to Initialise a HashSet Inline in Java
Learn to create and initialise HashSet at the time of Construction in Java. A guide to create inline HashSets with examples.
Examples of Converting List to Map using Streams
Learn ways of Collecting a Stream of List into Map using Java Streams API. Using Collectors.toMap and Collectors.groupingBy with example.
Java 8 Collections API Enhancements
A guide to Java 8 Collections API enhancements. Learn about the changes like streams, new methods with the help of code examples.