这groupingBy是为了:
groupingBy
Map> vehicle = stream.collect(Collectors.groupingBy(e -> e[0], Collectors.mapping(e -> e[1], Collectors.toList())));
输出图:
{CAR=[Audi], BIKE=[Harley Davidson, Pulsar]}