25.8.20
This website uses cookies to ensure you get the best experience on our website. Learn more

Advanced Features in Java: Working with Sets In Java

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. In this course, you'll explore the Set interface and the different Set collections available in Java. You'll learn how the Java Set interface extends Collection, and how it is used to define unordered collections in which duplicates are not allowed. You'll discover common set operations such as union, difference, intersection, and equality, as well as how these are influenced heavily by the implementation of .equals and .hashCode in the objects contained within the set. You'll cover four implementations of the Set interface - HashSet, LinkedHashSet, EnumSet, and TreeSet. Finally, you'll learn the correct implementations of the .hashCode, .equals, and .compareTo methods of user-defined objects that are to be stored in Sets.

Issued on

October 19, 2022

Expires on

Does not expire