ComparableUtils<T> extension
Provides miscellaneous extension methods on Comparable.
- on
-
- Comparable<
T>
- Comparable<
Methods
-
clamp(
T low, T high) → T -
Clamps this Comparable to be within the range [
low
,high
].