onResultOf<T> method
Returns a Comparator of type T
that extracts a sort key of type R
.
Implementation
Comparator<T> onResultOf<T>(Map1<T, R> function) =>
(a, b) => this(function(a), function(b));
Returns a Comparator of type T
that extracts a sort key of type R
.
Comparator<T> onResultOf<T>(Map1<T, R> function) =>
(a, b) => this(function(a), function(b));