diff --git a/arkts/@arkts.collections.d.ets b/arkts/@arkts.collections.d.ets index 8286c65709af0a1a8667c2b3b150e62dd4760e38..2542efd44fbaa92988c7577c7391f05891078f80 100644 --- a/arkts/@arkts.collections.d.ets +++ b/arkts/@arkts.collections.d.ets @@ -11972,33 +11972,19 @@ declare namespace collections { */ values(): IterableIterator; /** - * Returns the item at that index. - * - * @param { int } index - The zero-based index of the desired code unit. - * Throws error if index < 0 or index >= bitVector.length. - * @returns { int } The element in the bitVector matching the given index. - * @throws { BusinessError } 10200001 - The value of index is out of range. - * @syscap SystemCapability.Utils.Lang - * @crossplatform - * @atomicservice - * @since 20 - * @arkts 1.2 - */ - $_get(index: int): int; - /** - * Set the value of item at that index. + * Accesses or sets the element at the specified index in the BitVector. * - * @param { int } index - The index of the element to set. - * Throws error if index < 0 or index >= bitVector.length. - * @param { int } value - The value to set at the specified index. + * @param { int } index - The index of the element to access or set. + * Throws an error if index < 0 or index >= bitVector.length. + * @returns { int } The element in the BitVector at the given index. * @throws { BusinessError } 10200001 - The value of index is out of range. * @syscap SystemCapability.Utils.Lang - * @atomicservice * @crossplatform + * @atomicservice * @since 20 * @arkts 1.2 */ - $_set(index: int, value: int): void; + [index: int]: int; } /**