📜  int 数组映射 java 代码示例

📅  最后修改于: 2022-03-11 14:52:50.090000             🧑  作者: Mango

代码示例1
Map map = Arrays
        .stream(nums)
        .boxed() // this
        .collect(Collectors.groupingBy(e -> e, Collectors.counting()));