-
Notifications
You must be signed in to change notification settings - Fork 1
NavigationMap
Vishnu Garg edited this page Nov 22, 2018
·
2 revisions
#NavigationMap
NavigableMap is an extension of SortedMap which provides convenient navigation method like lowerKey, floorKey, ceilingKey and higherKey, and along with these popular navigation method it also provide ways to create a Sub Map from existing Map in Java e.g. headMap whose keys are less than specified key, tailMap whose keys are greater than specified key and a subMap which is strictly contains keys which falls between toKey and fromKey.
Refrence https://www.geeksforgeeks.org/navigablemap-interface-in-java-with-example/