SortedMap
A map that maintains its entries sorted according to its implementation-defined key ordering.
Extends Map with neighbor queries (floor, ceiling, higher, lower) and extremum access (firstKey, lastKey) for finding adjacent keys.
Type Parameters
K
The type of keys maintained by this map.
V
The type of mapped values.