Java
Navigable Collections:TreeSet, TreeMap, and the Comparator Contract
Use TreeSet and TreeMap when keys must stay sorted — O(log n) red-black trees, Navigable ceiling/floor, and a Comparator that stays consistent with equals.
Read More1 post(s)