Collectors.toMap()和Collectors.groupingBy()之间的区别,用于收集到一个Map中。