Convenience record for holding a pair of doubles indicating the low and high ends of a range.
NB: This was intended to be written using generics but (a) base types cannot be used as T in Range<T> and
(b) surprisingly, java.lang.Number does not implement Comparable. Range<T extends Number> becomes too
cumbersome to write and to use.