comparator_sorted_map library
A SortedMap implementation that relies on a provided Comparator for sorting. Also supports limiting the map capacity and ejecting over-capacity entries from either the beginning or the end.
Classes
-
SortedMap<
K, V> - An implementation of Map that sorts its entries according the the provided Comparator.