提交 40520901 编写于 作者: W wangyong

midified containers class API interface reference description

Description

    The import method of container classes has been changed to improve efficiency.
    Previous import method: import { ArrayList } from '@ohos.util.ArrayList'
    Now import method: import ArrayList from '@ohos.util.ArrayList'
    Related issue
    #I4TCSR:midified containers class API interface reference description
Signed-off-by: Nwangyong <wangyong237@huawei.com>
上级 0dcba6f9
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
## 导入模块 ## 导入模块
``` ```
import {ArrayList} from '@ohos.util.ArrayList' import ArrayList from '@ohos.util.ArrayList'
``` ```
## 权限 ## 权限
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {Deque} from '@ohos.util.Deque' import Deque from '@ohos.util.Deque'
``` ```
## 权限 ## 权限
...@@ -30,7 +30,7 @@ Deque的构造函数。 ...@@ -30,7 +30,7 @@ Deque的构造函数。
- 示例: - 示例:
``` ```
let queue = new Queue(); let deque = new Deque();
``` ```
### insertFront ### insertFront
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {HashMap} from '@ohos.util.HashMap' import HashMap from '@ohos.util.HashMap'
``` ```
......
...@@ -7,10 +7,9 @@ ...@@ -7,10 +7,9 @@
## 导入模块 ## 导入模块
``` ```
import {HashSet} from '@ohos.util.HashSet' import HashSet from '@ohos.util.HashSet';
``` ```
## 权限 ## 权限
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {LightWeightMap} from '@ohos.util.LightWeightMap' import LightWeightMap from '@ohos.util.LightWeightMap'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {LightWeightSet} from '@ohos.util.LightWeightSet' import LightWeightSet from '@ohos.util.LightWeightSet'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {LinkedList} from '@ohos.util.LinkedList' import LinkedList from '@ohos.util.LinkedList'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {List} from '@ohos.util.List' import List from '@ohos.util.List'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {PlainArray} from '@ohos.util.PlainArray' import PlainArray from '@ohos.util.PlainArray'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {Queue} from '@ohos.util.Queue' import Queue from '@ohos.util.Queue'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {Stack} from '@ohos.util.Stack' import Stack from '@ohos.util.Stack'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {TreeMap} from '@ohos.util.TreeMap' import TreeMap from '@ohos.util.TreeMap'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {TreeSet} from '@ohos.util.TreeSet' import TreeSet from '@ohos.util.TreeSet'
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
## 导入模块 ## 导入模块
``` ```
import {Vector} from '@ohos.util.Vector' import Vector from '@ohos.util.Vector'
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册