The main advantage of NavigableMap over Map is the Navigation
capability.
It provides the capabilities of a Map, SortedMap and navigation in
one collection.
It even returns the closest matches for given search targets.
Methods like lowerEntry, floorEntry, ceilingEntry, and higherEntry
return Map.Entry objects associated with keys respectively less
than, less than or equal, greater than or equal, and greater than a
given key.
Methods like lowerKey, floorKey, ceilingKey, and higherKey return
only the associated keys. All of these methods are designed for
locating, not traversing entries
https://www.geeksforgeeks.org/navigablemap-interface-in-java-with-example/