Collections in Java: Sets & Maps

Java SE 15
  • 15 Videos | 1h 39m 17s
  • 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 course
    explore the basic characteristics of the 'set' data structure
    recall how hash sets identify duplicates
    recall how different types of sets are ordered
    implement tree sets for predictable ordering of data
    identify how the Comparator and Comparable interfaces are used in tree sets
    store key-value pairs in maps
    view keys and values in maps as collections
  • create dictionaries with keys and values of custom types
    recognize different type of map implementations
    implement an LRU cache using a LinkedHashMap
    implement the Comparator interface to access elements in a tree map in priority order
    implement the Comparable interface to access elements in a tree map in priority order
    recall the special operations that can be performed on sorted maps
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 18s
    UP NEXT
  • Playable
    2. 
    Conducting Set Operations
    10m 14s
  • Locked
    3. 
    Identifying Duplicates in a HashSet
    9m 28s
  • Locked
    4. 
    Ordering Elements in Set Implementations
    6m 47s
  • Locked
    5. 
    Using Comparators in Tree Sets
    6m 22s
  • Locked
    6. 
    Using Comparables and Comparators in Tree Sets
    10m 7s
  • Locked
    7. 
    Carrying Out Map Operations
    8m 50s
  • Locked
    8. 
    Working with Collection Views on a Map
    6m 44s
  • Locked
    9. 
    Using Custom Objects as Keys and Values
    6m 10s
  • Locked
    10. 
    Ordering Entries in Map Implementations
    4m 17s
  • Locked
    11. 
    Implementing an LRU Cache Using LinkedHashMap
    8m 27s
  • Locked
    12. 
    Using TreeMaps and Comparators
    7m 18s
  • Locked
    13. 
    Using TreeMaps and Comparables
    6m 10s
  • Locked
    14. 
    Performing Sorted Map Operations
    3m 58s
  • Locked
    15. 
    Course Summary
    2m 8s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.