In this course, you'll explore the Map interface and the different Map implementations available in Java. You'll learn how the Map is not a collection at all, but how it can be used to associate keys and values, and obtain collection objects that represent those keys and values. You'll see how no duplicates are allowed in keys, which effectively constitute a Set. You'll explore three implementations of the Map interface - HashMap, LinkedHashMap, and TreeMap. Next, you'll learn the finer points of how these map implementations check for duplicates. Finally, you'll examine the correct implementations of the .equals, .hashCode, and .compareTo methods in objects that are to be stored in maps.
Learning Objectives
{"discover the key concepts covered in this course"}