We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8649616 commit 79d6dbaCopy full SHA for 79d6dba
1 file changed
docs/java/Basis/Arrays,CollectionsCommonMethods.md
@@ -90,7 +90,7 @@ int max(Collection coll)//根据元素的自然顺序,返回最大的元素。
90
int max(Collection coll, Comparator c)//根据定制排序,返回最大元素,排序规则由Comparatator类控制。类比int min(Collection coll, Comparator c)
91
void fill(List list, Object obj)//用指定的元素代替指定list中的所有元素。
92
int frequency(Collection c, Object o)//统计元素出现次数
93
-int indexOfSubList(List list, List target)//统计targe在list中第一次出现的索引,找不到则返回-1,类比int lastIndexOfSubList(List source, list target).
+int indexOfSubList(List list, List target)//统计target在list中第一次出现的索引,找不到则返回-1,类比int lastIndexOfSubList(List source, list target).
94
boolean replaceAll(List list, Object oldVal, Object newVal), 用新元素替换旧元素
95
```
96
0 commit comments