fix a typo

This commit is contained in:
WangHengwei
2019-08-12 12:24:55 +08:00
committed by GitHub
parent 42e8862084
commit 64a7648b74

View File

@@ -459,7 +459,7 @@ sub: [Mouse, Pug]
`set()` 方法的命名显得很不合时宜,因为它与 **Set** 类存在潜在的冲突。在这里使用“replace”可能更适合因为它的功能是用第二个参数替换索引处的元素第一个参数
第 17 行输出表明,对于 **List** ,有一个重载的 `addAll()` 方法可以将新列表插入到原始列表的中间位置,而不是仅能用 **Collection**`addAll()` 方法将其追加到列表末尾。
第 17 行输出表明,对于 **List** ,有一个重载的 `addAll()` 方法可以将新列表插入到原始列表的中间位置,而不是仅能用 **Collection**`addAll()` 方法将其追加到列表末尾。
第 18 - 20 行输出展示了 `isEmpty()``clear()` 方法的效果。