提交 88015dac 编写于 作者: W wusongqing

updated linkedlist and vector apis

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 484128ba
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
import LinkedList from '@ohos.util.LinkedList' import LinkedList from '@ohos.util.LinkedList'
``` ```
## System Capabilities ## System Capability
SystemCapability.Utils.Lang SystemCapability.Utils.Lang
...@@ -452,7 +452,7 @@ callbackfn ...@@ -452,7 +452,7 @@ callbackfn
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| value | T | Yes| Value of the entry that is currently traversed.| | value | T | Yes| Value of the entry that is currently traversed.|
| index | number | No| Position index of the entry that is currently traversed.| | index | number | No| Position index of the entry that is currently traversed.|
| LinkedList | LinkedList&lt;T&gt; | No| Instance that invokes the **forEach** method.| | LinkedList | LinkedList&lt;T&gt; | No| Instance that invokes the **forEach** API.|
**Example** **Example**
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
import Vector from '@ohos.util.Vector' import Vector from '@ohos.util.Vector'
``` ```
## System Capabilities ## System Capability
SystemCapability.Utils.Lang SystemCapability.Utils.Lang
...@@ -284,7 +284,7 @@ callbackfn ...@@ -284,7 +284,7 @@ callbackfn
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| value | T | Yes| Value of the entry that is currently traversed.| | value | T | Yes| Value of the entry that is currently traversed.|
| index | number | No| Position index of the entry that is currently traversed.| | index | number | No| Position index of the entry that is currently traversed.|
| vector | Vector&lt;T&gt; | No| Instance that invokes the **replaceAllElements** method.| | vector | Vector&lt;T&gt; | No| Instance that invokes the **replaceAllElements** API.|
**Example** **Example**
...@@ -321,7 +321,7 @@ callbackfn ...@@ -321,7 +321,7 @@ callbackfn
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| value | T | Yes| Value of the entry that is currently traversed.| | value | T | Yes| Value of the entry that is currently traversed.|
| index | number | No| Position index of the entry that is currently traversed.| | index | number | No| Position index of the entry that is currently traversed.|
| vector | Vector&lt;T&gt; | No| Instance that invokes the **forEach** method.| | vector | Vector&lt;T&gt; | No| Instance that invokes the **forEach** API.|
**Example** **Example**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册