Skip to content

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.

Where the book teaches it

Related terms

Hash ringTypeahead