Collections in Java: Sets & Maps
Java
| Intermediate
- 15 videos | 1h 38m 32s
- Includes Assessment
- Earns a Badge
The Java collections framework has several different, specialized collections, such as sets and maps. These allow you to store values and data in different ways. In this course, you'll explore these and other valuable collections from the Java collections framework. Create and work with sets, performing several different operations, including union, intersection, difference, and subset operations. Next, explore the different set implementations that Java offers beyond the basic HashSet. Discover how the LinkedHashSet and TreeSet differ in how elements of the set are accessed. Finally, work with another important and commonly used Java collection, the map. Investigate several different map implementations and use maps to build a Least Recently Used cache and a priority queue. When you're finished, you'll have a solid foundational, working knowledge in using special collections in the Java collections framework.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseExplore the basic characteristics of the 'set' data structureRecall how hash sets identify duplicatesRecall how different types of sets are orderedImplement tree sets for predictable ordering of dataIdentify how the comparator and comparable interfaces are used in tree setsStore key-value pairs in mapsView keys and values in maps as collections
-
Create dictionaries with keys and values of custom typesRecognize different type of map implementationsImplement an lru cache using a linkedhashmapImplement the comparator interface to access elements in a tree map in priority orderImplement the comparable interface to access elements in a tree map in priority orderRecall the special operations that can be performed on sorted mapsSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 15s
-
10m 11s
-
9m 25s
-
6m 44s
-
6m 19s
-
10m 4sIn this video, you'll learn how to identify how the Comparator and Comparable interfaces are used in tree sets. You'll discover that if you want to be able to add custom Objects to TreeSets, your Objects should implement the Comparable interface or you need to specify a Comparator for the TreeSet. FREE ACCESS
-
8m 47s
-
6m 41s
-
6m 7s
-
4m 14s
-
8m 24s
-
7m 15s
-
6m 7s
-
3m 55s
-
2m 5s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.