Map<String, ProductRespVO> skuMap = givenSkuList.stream().collect(Collectors.toMap(ProductRespVO::getSkuCode, input -> input, (k1, k2) -> k1));
Map<String, ProductRespVO> skuMap = givenSkuList.stream().collect(Collectors.toMap(ProductRespVO::getSkuCode, input -> input, (k1, k2) -> k1));
本文标题:stream - map
本文链接:https://www.haomeiwen.com/subject/livsuhtx.html
网友评论