Java Stream map, Collectors(toMap, toList, toSet, groupingBy, collectingAndThen)等学习和使用理解及案例
.map以及toList方法联合使用案例/***.map.collect(Collectors.toList)*/privatestaticvoidmethod2(){Listcollect=Stream.of("1:name1","2:name2").map(newFunction(){@OverridepublicMyPersonapply(Strings){String[]split=s.s