Kotlin 查找最短的字符串列表

示例

// Java:
String shortest = items.stream()
    .min(Comparator.comparing(item -> item.length()))
    .get();
// 科特林:
val shortest =items.minBy{it.length}