List转Map的过程中有用到toMap()方法
详解Java8中Collectors.toMap() jdk8的.toMap()
Collectors.toMap
原文:https://www.cnblogs.com/javaupup/p/14498274.html