A simple representation of a contiguous interval in some type.
An interval on a key type which can be open (extend to ±infinity) at either end.
Identify whether an interval is empty.
Check whether an interval contains a specific key.