After doing groupingBy, i want to get the Top2 from each group, How i can get this in Java 8

前端 未结 0 1145
慢半拍i
慢半拍i 2021-02-08 13:02
Map> result = 
    navList.stream().collect(Collectors.groupingBy(navData-> 
    new ArrayList(Arrays.asList(navDat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题