3
这个需求如何用 lambda 来做呢?
source link: https://www.oschina.net/question/3524705_2324014
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
这个需求如何用 lambda 来做呢?
姓名 班级 年龄 成绩 张三 一班 21 67 李四 二班 22 88 王五 一班 23 45
要求按照班级分组, 组合所有姓名(逗号隔开), 找到这个班级最大的年龄, 这个年级最低的分数 。
"class": "一班",
"names":"张三,王五",
"maxAge" : 23,
"minScore" : 45
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK