maxOf<R extends Comparable> method

R maxOf<R extends Comparable>(
  1. R selector(
    1. MapEntry<K, V> entry
    )
)

Returns the largest value among all values produced by selector function applied to each entry in the Map.

Implementation

R maxOf<R extends Comparable>(R Function(MapEntry<K, V> entry) selector) =>
    entries.maxOf(selector);