comparable_basics library
Extensions
-
ComparableBasics
on Comparable<
T> - Utility extension methods for the Comparable class.
Functions
-
max<
T extends Comparable< (Object> >T a, T b) → T - Returns the greater of two Comparable objects.
-
min<
T extends Comparable< (Object> >T a, T b) → T - Returns the lesser of two Comparable objects.