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