From 88015dac5125e977f9b311752b36529a70d5e9f2 Mon Sep 17 00:00:00 2001 From: wusongqing Date: Fri, 18 Mar 2022 13:58:50 +0800 Subject: [PATCH] updated linkedlist and vector apis Signed-off-by: wusongqing --- en/application-dev/reference/apis/js-apis-linkedlist.md | 4 ++-- en/application-dev/reference/apis/js-apis-vector.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-linkedlist.md b/en/application-dev/reference/apis/js-apis-linkedlist.md index f913c76975..35a68b7ef9 100644 --- a/en/application-dev/reference/apis/js-apis-linkedlist.md +++ b/en/application-dev/reference/apis/js-apis-linkedlist.md @@ -10,7 +10,7 @@ import LinkedList from '@ohos.util.LinkedList' ``` -## System Capabilities +## System Capability SystemCapability.Utils.Lang @@ -452,7 +452,7 @@ callbackfn | -------- | -------- | -------- | -------- | | value | T | Yes| Value of the entry that is currently traversed.| | index | number | No| Position index of the entry that is currently traversed.| -| LinkedList | LinkedList<T> | No| Instance that invokes the **forEach** method.| +| LinkedList | LinkedList<T> | No| Instance that invokes the **forEach** API.| **Example** diff --git a/en/application-dev/reference/apis/js-apis-vector.md b/en/application-dev/reference/apis/js-apis-vector.md index c08aa21f74..b142bffef8 100644 --- a/en/application-dev/reference/apis/js-apis-vector.md +++ b/en/application-dev/reference/apis/js-apis-vector.md @@ -10,7 +10,7 @@ import Vector from '@ohos.util.Vector' ``` -## System Capabilities +## System Capability SystemCapability.Utils.Lang @@ -284,7 +284,7 @@ callbackfn | -------- | -------- | -------- | -------- | | value | T | Yes| Value of the entry that is currently traversed.| | index | number | No| Position index of the entry that is currently traversed.| -| vector | Vector<T> | No| Instance that invokes the **replaceAllElements** method.| +| vector | Vector<T> | No| Instance that invokes the **replaceAllElements** API.| **Example** @@ -321,7 +321,7 @@ callbackfn | -------- | -------- | -------- | -------- | | value | T | Yes| Value of the entry that is currently traversed.| | index | number | No| Position index of the entry that is currently traversed.| -| vector | Vector<T> | No| Instance that invokes the **forEach** method.| +| vector | Vector<T> | No| Instance that invokes the **forEach** API.| **Example** -- GitLab