ComparableUtils<T> extension

Provides miscellaneous extension methods on Comparable.

on

Methods

clamp(T low, T high) → T
Clamps this Comparable to be within the range [low, high].