MapMaxBy<K, V> extension

on

Methods

maxBy<R extends Comparable>(R selector(MapEntry<K, V>)) MapEntry<K, V>?

Available on Map<K, V>, provided by the MapMaxBy extension

Returns the first entry yielding the largest value of the given function or null if there are no entries.