mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-08 07:36:38 +00:00
update container out of range
Signed-off-by: liu-ganlin <liuganlin@huawei.com>
This commit is contained in:
parent
d90aa1e7f6
commit
e5d097af91
8
api/@ohos.util.ArrayList.d.ts
vendored
8
api/@ohos.util.ArrayList.d.ts
vendored
@ -42,7 +42,7 @@ declare class ArrayList<T> {
|
||||
* any subsequent elements to the right (adds one to their index).
|
||||
* @param index index at which the specified element is to be inserted
|
||||
* @param element element to be inserted
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 10200011 - The insert method cannot be bound.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
@ -73,7 +73,7 @@ declare class ArrayList<T> {
|
||||
* delete the element, and move the index of all elements to the right of the element forward by one.
|
||||
* @param index the index in the arraylist
|
||||
* @returns the T type ,returns undefined if arraylist is empty,If the index is
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 10200011 - The removeByIndex method cannot be bound.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
@ -105,7 +105,7 @@ declare class ArrayList<T> {
|
||||
* Removes from this arraylist all of the elements whose index is between fromIndex,inclusive,and toIndex ,exclusive.
|
||||
* @param fromIndex The starting position of the index, containing the value at that index position
|
||||
* @param toIndex the end of the index, excluding the value at that index
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of fromIndex or toIndex is out of range.
|
||||
* @throws { BusinessError } 10200011 - The removeByRange method cannot be bound.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
@ -163,7 +163,7 @@ declare class ArrayList<T> {
|
||||
* Returns a view of the portion of this arraylist between the specified fromIndex,inclusive,and toIndex,exclusive
|
||||
* @param fromIndex The starting position of the index, containing the value at that index position
|
||||
* @param toIndex the end of the index, excluding the value at that index
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of fromIndex or toIndex is out of range.
|
||||
* @throws { BusinessError } 10200011 - The subArrayList method cannot be bound.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
|
||||
|
6
api/@ohos.util.LightWeightMap.d.ts
vendored
6
api/@ohos.util.LightWeightMap.d.ts
vendored
@ -112,7 +112,7 @@ declare class LightWeightMap<K, V> {
|
||||
* @param index Target subscript for search
|
||||
* @returns the key of key-value pairs
|
||||
* @throws { BusinessError } 10200011 - The getKeyAt method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
@ -177,7 +177,7 @@ declare class LightWeightMap<K, V> {
|
||||
* @param value Updated the target mapped value
|
||||
* @returns the boolean type(Is there a value corresponding to the subscript)
|
||||
* @throws { BusinessError } 10200011 - The setValueAt method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
@ -212,7 +212,7 @@ declare class LightWeightMap<K, V> {
|
||||
* @param index Target subscript for search
|
||||
* @returns the value of key-value pairs
|
||||
* @throws { BusinessError } 10200011 - The getValueAt method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
|
2
api/@ohos.util.LightWeightSet.d.ts
vendored
2
api/@ohos.util.LightWeightSet.d.ts
vendored
@ -80,7 +80,7 @@ declare class LightWeightSet<T> {
|
||||
* @param minimumCapacity Minimum capacity to be reserved
|
||||
* @throws { BusinessError } 10200011 - The increaseCapacityTo method cannot be bound.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of minimumCapacity is out of range.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
*/
|
||||
|
6
api/@ohos.util.LinkedList.d.ts
vendored
6
api/@ohos.util.LinkedList.d.ts
vendored
@ -42,7 +42,7 @@ declare class LinkedList<T> {
|
||||
* @param element element to be inserted
|
||||
* @throws { BusinessError } 10200011 - The insert method cannot be bound.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
*/
|
||||
@ -110,7 +110,7 @@ declare class LinkedList<T> {
|
||||
* out of bounds (greater than or equal to length or less than 0), throw an exception
|
||||
* @throws { BusinessError } 10200011 - The removeByIndex method cannot be bound.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
*/
|
||||
@ -184,7 +184,7 @@ declare class LinkedList<T> {
|
||||
* @param index index to find
|
||||
* @returns the T type ,returns undefined if linkedList is empty
|
||||
* @throws { BusinessError } 10200011 - The set method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
|
8
api/@ohos.util.List.d.ts
vendored
8
api/@ohos.util.List.d.ts
vendored
@ -41,7 +41,7 @@ declare class List<T> {
|
||||
* @param index index at which the specified element is to be inserted
|
||||
* @param element element to be inserted
|
||||
* @throws { BusinessError } 10200011 - The insert method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
@ -83,7 +83,7 @@ declare class List<T> {
|
||||
* @returns the T type ,returns undefined if list is empty,If the index is
|
||||
* out of bounds (greater than or equal to length or less than 0), throw an exception
|
||||
* @throws { BusinessError } 10200011 - The removeByIndex method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
@ -134,7 +134,7 @@ declare class List<T> {
|
||||
* @param index index to find
|
||||
* @returns the T type
|
||||
* @throws { BusinessError } 10200011 - The set method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
@ -193,7 +193,7 @@ declare class List<T> {
|
||||
* @param fromIndex The starting position of the index, containing the value at that index position
|
||||
* @param toIndex the end of the index, excluding the value at that index
|
||||
* @throws { BusinessError } 10200011 - The getSubList method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of fromIndex or toIndex is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
|
6
api/@ohos.util.PlainArray.d.ts
vendored
6
api/@ohos.util.PlainArray.d.ts
vendored
@ -134,7 +134,7 @@ declare class PlainArray<T> {
|
||||
* @param size Expected deletion quantity
|
||||
* @returns Actual deleted quantity
|
||||
* @throws { BusinessError } 10200011 - The removeRangeFrom method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
@ -145,7 +145,7 @@ declare class PlainArray<T> {
|
||||
* @param index Target subscript for search
|
||||
* @param value Updated the target mapped value
|
||||
* @throws { BusinessError } 10200011 - The setValueAt method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
@ -163,7 +163,7 @@ declare class PlainArray<T> {
|
||||
* @param index Target subscript for search
|
||||
* @returns the value of key-value pairs
|
||||
* @throws { BusinessError } 10200011 - The getValueAt method cannot be bound.
|
||||
* @throws { BusinessError } 10200001 - The type of parameters are out of range.
|
||||
* @throws { BusinessError } 10200001 - The value of index is out of range.
|
||||
* @throws { BusinessError } 401 - The type of parameters are invalid.
|
||||
* @since 8
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
|
Loading…
Reference in New Issue
Block a user