Loading

java集合中某一个元素出现的次数

int count = Collections.frequency(list, key);

 

java的内置方法

posted @ 2019-01-10 22:13  菜の可怜  阅读(1297)  评论(0编辑  收藏  举报