We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc67794 commit c6f4dbaCopy full SHA for c6f4dba
ch15/03_Comparing_List_Implementations.md
@@ -9,10 +9,10 @@
9
10
表 `15-1`。不同列表实现的比较性能
11
12
----|get| add| contains |next |remove(0) |iterator.remove
+ |get| add| contains |next |remove(0) |iterator.remove
13
---|---|---|---|---|---|---
14
ArrayList |O(1) | O(1) | O(n) |O(1) | O(n) | O(n)
15
LinkedList |O(n) | O(1) | O(n) |O(1) | O(1) | O(1)
16
CopyOnWrite-ArrayList |O(1) | O(n) | O(n) |O(1) | O(n) | O(n)
17
18
-有可能在未来的版本中,`ArrayDeque` 将被改进以实现 `List` 接口;如果发生这种情况,它将成为单线程环境中队列和列表的选择。
+有可能在未来的版本中,`ArrayDeque` 将被改进以实现 `List` 接口;如果发生这种情况,它将成为单线程环境中队列和列表的选择。
0 commit comments