给定一个数组,找出现两次的数

public void fun(){ int[] arr = {1,2,3,3,3,4,5,6,6,6,7,5,10}; Map<Integer,Long> map = InStream.of(arr).boxed().collect(Collectors.groupingBy(Function.identity(),Collectors.counting())); Lis
相关文章
相关标签/搜索