Duration: 19:28 min
Summary: This video is a continuation of the previous one. Here we will create a generic TreeMap of Strings. We will see how to use lowerKey(), higherKey(), floorKey(), and ceilingKey(). We will also poll the first and last entries using pollFirstEntry() and pollLastEntry() and see their effects on the Map. We will then print the map in descending order using descendingMap(). Finally, we will create a sub-map. Then we add elements to the original map and to the sub and see the effect of the addition.