提交 cd0d97b4 编写于 作者: W wangyong1995626wywz

Correct incorrect display format

Description
    "< T >" needs to be changed to "lt;Tgt;" to display
    #I4Z634:Correct incorrect display format
Signed-off-by: Nwangyong1995626wywz <wangyong237@huawei.com>
上级 c4a907b6
......@@ -351,7 +351,7 @@ hashMap.forEach((value, key) => {
### entries
entries(): IterableIterator<[K, V]>
entries(): IterableIterator&lt;[K, V]&gt;
返回包含此映射中包含的键值对的新迭代器对象。
......@@ -359,7 +359,7 @@ entries(): IterableIterator<[K, V]>
| 类型 | 说明 |
| -------- | -------- |
| IterableIterator<[K, V]> | 返回一个迭代器。 |
| IterableIterator&lt;[K, V]&gt; | 返回一个迭代器。 |
**示例:**
......@@ -387,7 +387,7 @@ while(temp != undefined) {
| 类型 | 说明 |
| -------- | -------- |
| IterableIterator<[K, V]> | 返回一个迭代器。 |
| IterableIterator&lt;[K, V]&gt; | 返回一个迭代器。 |
**示例:**
```
......
......@@ -578,7 +578,7 @@ getLast(): T
**示例:**
```
let list = new Vector();
let list = new List();
list.add(2);
list.add(4);
list.add(5);
......
......@@ -416,7 +416,7 @@ plainArray.clear();
### forEach
forEach(callbackfn: (value: T, index?: number, PlainArray?: PlainArray<T>) => void, thisArg?: Object): void
forEach(callbackfn: (value: T, index?: number, PlainArray?: PlainArray&lt;T&gt;) => void, thisArg?: Object): void
通过回调函数来遍历实例对象上的元素以及元素对应的下标。
......@@ -432,7 +432,7 @@ callbackfn的参数说明:
| -------- | -------- | -------- | -------- |
| value | T | 是 | 当前遍历到的元素键值对的值。 |
| index | number | 否 | 当前遍历到的元素键值对的键。 |
| plainArray | PlainArray<T> | 否 | 当前调用forEach方法的实例对象。 |
| PlainArray | PlainArray&lt;T&gt;| 否 | 当前调用forEach方法的实例对象。 |
**示例:**
......@@ -456,7 +456,7 @@ plainArray.forEach((value, key) => {
| 类型 | 说明 |
| -------- | -------- |
| IterableIterator<[number, T]> | 返回一个迭代器。 |
| IterableIterator&lt;[number, T]&gt; | 返回一个迭代器。 |
**示例:**
......
......@@ -195,7 +195,7 @@ let result = treeMap.getLastKey();
setAll(map: TreeMap<K, V>): void
将一个treemap中的所有元素组添加到另一个treeMap中。
将一个TreeMap中的所有元素组添加到另一个TreeMap中。
**参数:**
......@@ -218,7 +218,7 @@ treeMap.setAll(map);
set(key: K, value: V): Object
treemap中添加一组数据。
容器中添加一组数据。
**参数:**
......@@ -330,7 +330,7 @@ let result = treeMap.getHigherKey("sdfs");
replace(key: K, newValue: V): boolean
TreeMap中一组数据进行更新(替换)。
容器中一组数据进行更新(替换)。
**参数:**
......@@ -358,7 +358,7 @@ let result = treeMap.replace("sdfs", 357);
clear(): void
清除TreeMap中的所有元素,并把length置为0。
清除容器中的所有元素,并把length置为0。
**示例:**
......
......@@ -139,7 +139,7 @@ let result = treeSet.getLastValue();
add(value: T): boolean
TreeSet中添加一组数据。
容器中添加一组数据。
**参数:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册