Glossary: System Design Beyond the Basics in Java
TreeMap
Also written: TreeSet
A Java map that stays sorted by key. `higherKey` finds the next point on the ring, and a `TreeSet` with `tailSet` powers typeahead.
Glossary: System Design Beyond the Basics in Java
Also written: TreeSet
A Java map that stays sorted by key. `higherKey` finds the next point on the ring, and a `TreeSet` with `tailSet` powers typeahead.