Kotlinコレクション操作maxOf
sumOf

maxOfコレクション操作

associateBy

セレクタ結果の最大値を返します。

構文

collection.maxOf { selector }