• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# JS API Changes of the Compiler and Runtime Subsystem
2
3The table below lists the APIs changes of the compiler and runtime subsystem in OpenHarmony 3.1 Release over OpenHarmony 3.0 LTS.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.xml | XmlPullParser | parse(option: ParseOptions): void; | Added|
10| ohos.xml | XmlPullParser | constructor(buffer: ArrayBuffer \| DataView, encoding?: string); | Added|
11| ohos.xml | ParseOptions | tokenValueCallbackFunction?: (eventType: EventType, value: ParseInfo) => boolean; | Added|
12| ohos.xml | ParseOptions | attributeValueCallbackFunction?: (name: string, value: string) => boolean; | Added|
13| ohos.xml | ParseOptions | tagValueCallbackFunction?: (name: string, value: string) => boolean; | Added|
14| ohos.xml | ParseOptions | ignoreNameSpace?: boolean; | Added|
15| ohos.xml | ParseOptions | supportDoctype?: boolean; | Added|
16| ohos.xml | ParseInfo | getAttributeCount(): number; | Added|
17| ohos.xml | ParseInfo | isWhitespace(): boolean; | Added|
18| ohos.xml | ParseInfo | isEmptyElementTag(): boolean; | Added|
19| ohos.xml | ParseInfo | getText(): string; | Added|
20| ohos.xml | ParseInfo | getPrefix(): string; | Added|
21| ohos.xml | ParseInfo | getNamespace(): string; | Added|
22| ohos.xml | ParseInfo | getName(): string; | Added|
23| ohos.xml | ParseInfo | getLineNumber(): number; | Added|
24| ohos.xml | ParseInfo | getDepth(): number; | Added|
25| ohos.xml | ParseInfo | getColumnNumber(): number; | Added|
26| ohos.xml | EventType | WHITESPACE | Added|
27| ohos.xml | EventType | ENTITY_REFERENCE | Added|
28| ohos.xml | EventType | INSTRUCTION | Added|
29| ohos.xml | EventType | DOCDECL | Added|
30| ohos.xml | EventType | COMMENT | Added|
31| ohos.xml | EventType | CDSECT | Added|
32| ohos.xml | EventType | TEXT | Added|
33| ohos.xml | EventType | END_TAG | Added|
34| ohos.xml | EventType | START_TAG | Added|
35| ohos.xml | EventType | END_DOCUMENT | Added|
36| ohos.xml | EventType | START_DOCUMENT | Added|
37| ohos.xml | XmlSerializer | setDocType(text: string): void; | Added|
38| ohos.xml | XmlSerializer | setText(text: string): void; | Added|
39| ohos.xml | XmlSerializer | setCDATA(text: string): void; | Added|
40| ohos.xml | XmlSerializer | setComment(text: string): void; | Added|
41| ohos.xml | XmlSerializer | setNamespace(prefix: string, namespace: string): void; | Added|
42| ohos.xml | XmlSerializer | endElement(): void; | Added|
43| ohos.xml | XmlSerializer | startElement(name: string): void; | Added|
44| ohos.xml | XmlSerializer | setDeclaration(): void; | Added|
45| ohos.xml | XmlSerializer | addEmptyElement(name: string): void; | Added|
46| ohos.xml | XmlSerializer | setAttributes(name: string, value: string): void; | Added|
47| ohos.xml | XmlSerializer | constructor(buffer: ArrayBuffer \| DataView, encoding?: string); | Added|
48| ohos.util.Vector | Vector | \[Symbol.iterator](): IterableIterator\<T>; | Added|
49| ohos.util.Vector | Vector | copyToArray(array: Array\<T>): void; | Added|
50| ohos.util.Vector | Vector | trimToCurrentLength(): void; | Added|
51| ohos.util.Vector | Vector | toString(): string; | Added|
52| ohos.util.Vector | Vector | increaseCapacityTo(newCapacity: number): void; | Added|
53| ohos.util.Vector | Vector | isEmpty(): boolean; | Added|
54| ohos.util.Vector | Vector | convertToArray(): Array\<T>; | Added|
55| ohos.util.Vector | Vector | getCapacity(): number; | Added|
56| ohos.util.Vector | Vector | setLength(newSize: number): void; | Added|
57| ohos.util.Vector | Vector | clone(): Vector\<T>; | Added|
58| ohos.util.Vector | Vector | clear(): void; | Added|
59| ohos.util.Vector | Vector | subVector(fromIndex: number, toIndex: number): Vector\<T>; | Added|
60| ohos.util.Vector | Vector | sort(comparator?: (firstValue: T, secondValue: T) => number): void; | Added|
61| ohos.util.Vector | Vector | forEach(callbackfn: (value: T, index?: number, vector?: Vector\<T>) => void, thisArg?: Object): void; | Added|
62| ohos.util.Vector | Vector | replaceAllElements(callbackfn: (value: T, index?: number, vector?: Vector\<T>) => T, thisArg?: Object): void; | Added|
63| ohos.util.Vector | Vector | removeByRange(fromIndex: number, toIndex: number): void; | Added|
64| ohos.util.Vector | Vector | getIndexFrom(element: T, index: number): number; | Added|
65| ohos.util.Vector | Vector | getLastIndexFrom(element: T, index: number): number; | Added|
66| ohos.util.Vector | Vector | getLastIndexOf(element: T): number; | Added|
67| ohos.util.Vector | Vector | set(index: number, element: T): T; | Added|
68| ohos.util.Vector | Vector | remove(element: T): boolean; | Added|
69| ohos.util.Vector | Vector | removeByIndex(index: number): T; | Added|
70| ohos.util.Vector | Vector | getLastElement(): T; | Added|
71| ohos.util.Vector | Vector | getFirstElement(): T; | Added|
72| ohos.util.Vector | Vector | getIndexOf(element: T): number; | Added|
73| ohos.util.Vector | Vector | get(index: number): T; | Added|
74| ohos.util.Vector | Vector | has(element: T): boolean; | Added|
75| ohos.util.Vector | Vector | insert(element: T, index: number): void; | Added|
76| ohos.util.Vector | Vector | add(element: T): boolean; | Added|
77| ohos.util.Vector | Vector | length: number; | Added|
78| ohos.util.Vector | Vector | constructor(); | Added|
79| ohos.util.TreeSet | TreeSet | \[Symbol.iterator](): IterableIterator\<T>; | Added|
80| ohos.util.TreeSet | TreeSet | entries(): IterableIterator\<[T, T]>; | Added|
81| ohos.util.TreeSet | TreeSet | values(): IterableIterator\<T>; | Added|
82| ohos.util.TreeSet | TreeSet | forEach(callbackfn: (value?: T, key?: T, set?: TreeSet\<T>) => void, thisArg?: Object): void; | Added|
83| ohos.util.TreeSet | TreeSet | popLast(): T; | Added|
84| ohos.util.TreeSet | TreeSet | popFirst(): T; | Added|
85| ohos.util.TreeSet | TreeSet | getHigherValue(key: T): T; | Added|
86| ohos.util.TreeSet | TreeSet | getLowerValue(key: T): T; | Added|
87| ohos.util.TreeSet | TreeSet | getLastValue(): T; | Added|
88| ohos.util.TreeSet | TreeSet | getFirstValue(): T; | Added|
89| ohos.util.TreeSet | TreeSet | clear(): void; | Added|
90| ohos.util.TreeSet | TreeSet | remove(value: T): boolean; | Added|
91| ohos.util.TreeSet | TreeSet | add(value: T): boolean; | Added|
92| ohos.util.TreeSet | TreeSet | has(value: T): boolean; | Added|
93| ohos.util.TreeSet | TreeSet | isEmpty(): boolean; | Added|
94| ohos.util.TreeSet | TreeSet | length: number; | Added|
95| ohos.util.TreeSet | TreeSet | constructor(comparator?: (firstValue: T, secondValue: T) => boolean) | Added|
96| ohos.util.TreeMap | TreeMap | \[Symbol.iterator](): IterableIterator\<[K, V]>; | Added|
97| ohos.util.TreeMap | TreeMap | entries(): IterableIterator\<[K, V]>; | Added|
98| ohos.util.TreeMap | TreeMap | forEach(callbackfn: (value?: V, key?: K, map?: TreeMap\<K, V>) => void, thisArg?: Object): void; | Added|
99| ohos.util.TreeMap | TreeMap | replace(key: K, newValue: V): boolean; | Added|
100| ohos.util.TreeMap | TreeMap | values(): IterableIterator\<V>; | Added|
101| ohos.util.TreeMap | TreeMap | keys(): IterableIterator\<K>; | Added|
102| ohos.util.TreeMap | TreeMap | getHigherKey(key: K): K; | Added|
103| ohos.util.TreeMap | TreeMap | getLowerKey(key: K): K; | Added|
104| ohos.util.TreeMap | TreeMap | clear(): void; | Added|
105| ohos.util.TreeMap | TreeMap | remove(key: K): V; | Added|
106| ohos.util.TreeMap | TreeMap | set(key: K, value: V): Object; | Added|
107| ohos.util.TreeMap | TreeMap | setAll(map: TreeMap\<K, V>): void; | Added|
108| ohos.util.TreeMap | TreeMap | getLastKey(): K; | Added|
109| ohos.util.TreeMap | TreeMap | getFirstKey(): K; | Added|
110| ohos.util.TreeMap | TreeMap | get(key: K): V; | Added|
111| ohos.util.TreeMap | TreeMap | hasValue(value: V): boolean; | Added|
112| ohos.util.TreeMap | TreeMap | hasKey(key: K): boolean; | Added|
113| ohos.util.TreeMap | TreeMap | isEmpty(): boolean; | Added|
114| ohos.util.TreeMap | TreeMap | length: number; | Added|
115| ohos.util.TreeMap | TreeMap | constructor(comparator?: (firstValue: K, secondValue: K) => boolean); | Added|
116| ohos.util.Stack | Stack | \[Symbol.iterator](): IterableIterator\<T>; | Added|
117| ohos.util.Stack | Stack | forEach(callbackfn: (value: T, index?: number, stack?: Stack\<T>) => void, thisArg?: Object): void; | Added|
118| ohos.util.Stack | Stack | locate(element: T): number; | Added|
119| ohos.util.Stack | Stack | push(item: T): T; | Added|
120| ohos.util.Stack | Stack | pop(): T; | Added|
121| ohos.util.Stack | Stack | peek(): T; | Added|
122| ohos.util.Stack | Stack | isEmpty(): boolean; | Added|
123| ohos.util.Stack | Stack | length: number; | Added|
124| ohos.util.Stack | Stack | constructor(); | Added|
125| ohos.util.Queue | Queue | \[Symbol.iterator](): IterableIterator\<T>; | Added|
126| ohos.util.Queue | Queue | forEach(callbackfn: (value: T, index?: number, Queue?: Queue\<T>) => void, thisArg?: Object): void; | Added|
127| ohos.util.Queue | Queue | pop(): T; | Added|
128| ohos.util.Queue | Queue | getFirst(): T; | Added|
129| ohos.util.Queue | Queue | add(element: T): boolean; | Added|
130| ohos.util.Queue | Queue | length: number; | Added|
131| ohos.util.Queue | Queue | constructor(); | Added|
132| ohos.util.PlainArray | PlainArray | \[Symbol.iterator](): IterableIterator\<[number, T]>; | Added|
133| ohos.util.PlainArray | PlainArray | forEach(callbackfn: (value: T, index?: number, PlainArray?: PlainArray\<T>) => void,  thisArg?: Object): void; | Added|
134| ohos.util.PlainArray | PlainArray | getValueAt(index: number): T; | Added|
135| ohos.util.PlainArray | PlainArray | toString(): String; | Added|
136| ohos.util.PlainArray | PlainArray | setValueAt(index: number, value: T): void; | Added|
137| ohos.util.PlainArray | PlainArray | removeRangeFrom(index: number, size: number): number; | Added|
138| ohos.util.PlainArray | PlainArray | removeAt(index: number): T; | Added|
139| ohos.util.PlainArray | PlainArray | remove(key: number): T; | Added|
140| ohos.util.PlainArray | PlainArray | getKeyAt(index: number): number; | Added|
141| ohos.util.PlainArray | PlainArray | isEmpty(): boolean; | Added|
142| ohos.util.PlainArray | PlainArray | getIndexOfValue(value: T): number; | Added|
143| ohos.util.PlainArray | PlainArray | getIndexOfKey(key: number): number; | Added|
144| ohos.util.PlainArray | PlainArray | get(key: number): T; | Added|
145| ohos.util.PlainArray | PlainArray | has(key: number): boolean; | Added|
146| ohos.util.PlainArray | PlainArray | clone(): PlainArray\<T>; | Added|
147| ohos.util.PlainArray | PlainArray | clear(): void; | Added|
148| ohos.util.PlainArray | PlainArray | add(key: number, value: T): void; | Added|
149| ohos.util.PlainArray | PlainArray | length: number; | Added|
150| ohos.util.PlainArray | PlainArray | constructor(); | Added|
151| ohos.util.List | List | \[Symbol.iterator](): IterableIterator\<T>; | Added|
152| ohos.util.List | List | isEmpty(): boolean; | Added|
153| ohos.util.List | List | convertToArray(): Array\<T>; | Added|
154| ohos.util.List | List | replaceAllElements(callbackfn: (value: T, index?: number, list?: List\<T>) => T, thisArg?: Object): void; | Added|
155| ohos.util.List | List | getSubList(fromIndex: number, toIndex: number): List\<T>; | Added|
156| ohos.util.List | List | clear(): void; | Added|
157| ohos.util.List | List | sort(comparator: (firstValue: T, secondValue: T) => number): void; | Added|
158| ohos.util.List | List | forEach(callbackfn: (value: T, index?: number, List?: List\<T>) => void, thisArg?: Object): void; | Added|
159| ohos.util.List | List | equal(obj: Object): boolean; | Added|
160| ohos.util.List | List | set(index: number, element: T): T; | Added|
161| ohos.util.List | List | getLast(): T; | Added|
162| ohos.util.List | List | getFirst(): T; | Added|
163| ohos.util.List | List | getLastIndexOf(element: T): number; | Added|
164| ohos.util.List | List | remove(element: T): boolean; | Added|
165| ohos.util.List | List | removeByIndex(index: number): T; | Added|
166| ohos.util.List | List | getIndexOf(element: T): number; | Added|
167| ohos.util.List | List | has(element: T): boolean; | Added|
168| ohos.util.List | List | get(index: number): T; | Added|
169| ohos.util.List | List | insert(element: T, index: number): void; | Added|
170| ohos.util.List | List | add(element: T): boolean; | Added|
171| ohos.util.List | List | length: number; | Added|
172| ohos.util.List | List | constructor(); | Added|
173| ohos.util.LinkedList | LinkedList | \[Symbol.iterator](): IterableIterator\<T>; | Added|
174| ohos.util.LinkedList | LinkedList | convertToArray(): Array\<T>; | Added|
175| ohos.util.LinkedList | LinkedList | clone(): LinkedList\<T>; | Added|
176| ohos.util.LinkedList | LinkedList | clear(): void; | Added|
177| ohos.util.LinkedList | LinkedList | forEach(callbackfn: (value: T, index?: number, LinkedList?: LinkedList\<T>) => void, thisArg?: Object): void; | Added|
178| ohos.util.LinkedList | LinkedList | set(index: number, element: T): T; | Added|
179| ohos.util.LinkedList | LinkedList | getLast(): T; | Added|
180| ohos.util.LinkedList | LinkedList | getFirst(): T; | Added|
181| ohos.util.LinkedList | LinkedList | getLastIndexOf(element: T): number; | Added|
182| ohos.util.LinkedList | LinkedList | removeLastFound(element: T): boolean; | Added|
183| ohos.util.LinkedList | LinkedList | removeFirstFound(element: T): boolean; | Added|
184| ohos.util.LinkedList | LinkedList | remove(element: T): boolean; | Added|
185| ohos.util.LinkedList | LinkedList | removeByIndex(index: number): T; | Added|
186| ohos.util.LinkedList | LinkedList | getIndexOf(element: T): number; | Added|
187| ohos.util.LinkedList | LinkedList | has(element: T): boolean; | Added|
188| ohos.util.LinkedList | LinkedList | removeLast(): T; | Added|
189| ohos.util.LinkedList | LinkedList | removeFirst(): T; | Added|
190| ohos.util.LinkedList | LinkedList | addFirst(element: T): void; | Added|
191| ohos.util.LinkedList | LinkedList | get(index: number): T; | Added|
192| ohos.util.LinkedList | LinkedList | insert(index: number, element: T): void; | Added|
193| ohos.util.LinkedList | LinkedList | add(element: T): boolean; | Added|
194| ohos.util.LinkedList | LinkedList | length: number; | Added|
195| ohos.util.LinkedList | LinkedList | constructor(); | Added|
196| ohos.util.LightWeightSet | LightWeightSet | isEmpty(): boolean; | Added|
197| ohos.util.LightWeightSet | LightWeightSet | entries(): IterableIterator\<[T, T]>; | Added|
198| ohos.util.LightWeightSet | LightWeightSet | values(): IterableIterator\<T>; | Added|
199| ohos.util.LightWeightSet | LightWeightSet | getValueAt(index: number): T; | Added|
200| ohos.util.LightWeightSet | LightWeightSet | toArray(): Array\<T>; | Added|
201| ohos.util.LightWeightSet | LightWeightSet | toString(): String; | Added|
202| ohos.util.LightWeightSet | LightWeightSet | \[Symbol.iterator](): IterableIterator\<T>; | Added|
203| ohos.util.LightWeightSet | LightWeightSet | forEach(callbackfn: (value?: T, key?: T, set?: LightWeightSet\<T>) => void, thisArg?: Object): void; | Added|
204| ohos.util.LightWeightSet | LightWeightSet | clear(): void; | Added|
205| ohos.util.LightWeightSet | LightWeightSet | removeAt(index: number): boolean; | Added|
206| ohos.util.LightWeightSet | LightWeightSet | remove(key: T): T; | Added|
207| ohos.util.LightWeightSet | LightWeightSet | getIndexOf(key: T): number; | Added|
208| ohos.util.LightWeightSet | LightWeightSet | increaseCapacityTo(minimumCapacity: number): void; | Added|
209| ohos.util.LightWeightSet | LightWeightSet | equal(obj: Object): boolean; | Added|
210| ohos.util.LightWeightSet | LightWeightSet | has(key: T): boolean; | Added|
211| ohos.util.LightWeightSet | LightWeightSet | hasAll(set: LightWeightSet\<T>): boolean; | Added|
212| ohos.util.LightWeightSet | LightWeightSet | addAll(set: LightWeightSet\<T>): boolean; | Added|
213| ohos.util.LightWeightSet | LightWeightSet | add(obj: T): boolean; | Added|
214| ohos.util.LightWeightSet | LightWeightSet | length: number; | Added|
215| ohos.util.LightWeightSet | LightWeightSet | constructor(); | Added|
216| ohos.util.LightWeightMap | LightWeightMap | values(): IterableIterator\<V>; | Added|
217| ohos.util.LightWeightMap | LightWeightMap | getValueAt(index: number): V; | Added|
218| ohos.util.LightWeightMap | LightWeightMap | toString(): String; | Added|
219| ohos.util.LightWeightMap | LightWeightMap | \[Symbol.iterator](): IterableIterator\<[K, V]>; | Added|
220| ohos.util.LightWeightMap | LightWeightMap | forEach(callbackfn: (value?: V, key?: K, map?: LightWeightMap\<K, V>) => void, thisArg?: Object): void; | Added|
221| ohos.util.LightWeightMap | LightWeightMap | setValueAt(index: number, newValue: V): boolean; | Added|
222| ohos.util.LightWeightMap | LightWeightMap | clear(): void; | Added|
223| ohos.util.LightWeightMap | LightWeightMap | removeAt(index: number): boolean; | Added|
224| ohos.util.LightWeightMap | LightWeightMap | remove(key: K): V; | Added|
225| ohos.util.LightWeightMap | LightWeightMap | set(key: K, value: V): Object; | Added|
226| ohos.util.LightWeightMap | LightWeightMap | setAll(map: LightWeightMap\<K, V>): void; | Added|
227| ohos.util.LightWeightMap | LightWeightMap | keys(): IterableIterator\<K>; | Added|
228| ohos.util.LightWeightMap | LightWeightMap | getKeyAt(index: number): K; | Added|
229| ohos.util.LightWeightMap | LightWeightMap | isEmpty(): boolean; | Added|
230| ohos.util.LightWeightMap | LightWeightMap | getIndexOfValue(value: V): number; | Added|
231| ohos.util.LightWeightMap | LightWeightMap | getIndexOfKey(key: K): number; | Added|
232| ohos.util.LightWeightMap | LightWeightMap | get(key: K): V; | Added|
233| ohos.util.LightWeightMap | LightWeightMap | entries(): IterableIterator\<[K, V]>; | Added|
234| ohos.util.LightWeightMap | LightWeightMap | increaseCapacityTo(minimumCapacity: number): void; | Added|
235| ohos.util.LightWeightMap | LightWeightMap | hasValue(value: V): boolean; | Added|
236| ohos.util.LightWeightMap | LightWeightMap | hasKey(key: K): boolean; | Added|
237| ohos.util.LightWeightMap | LightWeightMap | hasAll(map: LightWeightMap\<K, V>): boolean; | Added|
238| ohos.util.LightWeightMap | LightWeightMap | length: number; | Added|
239| ohos.util.LightWeightMap | LightWeightMap | constructor(); | Added|
240| ohos.util.HashSet | HashSet | \[Symbol.iterator](): IterableIterator\<T>; | Added|
241| ohos.util.HashSet | HashSet | entries(): IterableIterator\<[T, T]>; | Added|
242| ohos.util.HashSet | HashSet | values(): IterableIterator\<T>; | Added|
243| ohos.util.HashSet | HashSet | forEach(callbackfn: (value?: T, key?: T, set?: HashSet\<T>) => void, thisArg?: Object): void; | Added|
244| ohos.util.HashSet | HashSet | clear(): void; | Added|
245| ohos.util.HashSet | HashSet | remove(value: T): boolean; | Added|
246| ohos.util.HashSet | HashSet | add(value: T): boolean; | Added|
247| ohos.util.HashSet | HashSet | has(value: T): boolean; | Added|
248| ohos.util.HashSet | HashSet | isEmpty(): boolean; | Added|
249| ohos.util.HashSet | HashSet | length: number; | Added|
250| ohos.util.HashSet | HashSet | constructor(); | Added|
251| ohos.util.HashMap | HashMap | \[Symbol.iterator](): IterableIterator\<[K, V]>; | Added|
252| ohos.util.HashMap | HashMap | entries(): IterableIterator\<[K, V]>; | Added|
253| ohos.util.HashMap | HashMap | forEach(callbackfn: (value?: V, key?: K, map?: HashMap\<K, V>) => void, thisArg?: Object): void; | Added|
254| ohos.util.HashMap | HashMap | replace(key: K, newValue: V): boolean; | Added|
255| ohos.util.HashMap | HashMap | values(): IterableIterator\<V>; | Added|
256| ohos.util.HashMap | HashMap | keys(): IterableIterator\<K>; | Added|
257| ohos.util.HashMap | HashMap | clear(): void; | Added|
258| ohos.util.HashMap | HashMap | remove(key: K): V; | Added|
259| ohos.util.HashMap | HashMap | set(key: K, value: V): Object; | Added|
260| ohos.util.HashMap | HashMap | setAll(map: HashMap\<K, V>): void; | Added|
261| ohos.util.HashMap | HashMap | get(key: K): V; | Added|
262| ohos.util.HashMap | HashMap | hasValue(value: V): boolean; | Added|
263| ohos.util.HashMap | HashMap | hasKey(key: K): boolean; | Added|
264| ohos.util.HashMap | HashMap | isEmpty(): boolean; | Added|
265| ohos.util.HashMap | HashMap | length: number; | Added|
266| ohos.util.HashMap | HashMap | constructor(); | Added|
267| ohos.util.Deque | Deque | \[Symbol.iterator](): IterableIterator\<T>; | Added|
268| ohos.util.Deque | Deque | forEach(callbackfn: (value: T, index?: number, deque?: Deque\<T>) => void, thisArg?: Object): void; | Added|
269| ohos.util.Deque | Deque | popLast(): T; | Added|
270| ohos.util.Deque | Deque | popFirst(): T; | Added|
271| ohos.util.Deque | Deque | getLast(): T; | Added|
272| ohos.util.Deque | Deque | getFirst(): T; | Added|
273| ohos.util.Deque | Deque | has(element: T): boolean; | Added|
274| ohos.util.Deque | Deque | insertEnd(element: T): void; | Added|
275| ohos.util.Deque | Deque | insertFront(element: T): void; | Added|
276| ohos.util.Deque | Deque | length: number; | Added|
277| ohos.util.Deque | Deque | constructor(); | Added|
278| ohos.util | types | isWeakSet(value: Object): boolean; | Added|
279| ohos.util | types | isWeakMap(value: Object): boolean; | Added|
280| ohos.util | types | isUint32Array(value: Object): boolean; | Added|
281| ohos.util | types | isUint16Array(value: Object): boolean; | Added|
282| ohos.util | types | isUint8ClampedArray(value: Object): boolean; | Added|
283| ohos.util | types | isUint8Array(value: Object): boolean; | Added|
284| ohos.util | types | isTypedArray(value: Object): boolean; | Added|
285| ohos.util | types | isSymbolObject(value: Object): boolean; | Added|
286| ohos.util | types | isStringObject(value: Object): boolean; | Added|
287| ohos.util | types | isSharedArrayBuffer(value: Object): boolean; | Added|
288| ohos.util | types | isSetIterator(value: Object): boolean; | Added|
289| ohos.util | types | isSet(value: Object): boolean; | Added|
290| ohos.util | types | isRegExp(value: Object): boolean; | Added|
291| ohos.util | types | isProxy(value: Object): boolean; | Added|
292| ohos.util | types | isPromise(value: Object): boolean; | Added|
293| ohos.util | types | isNumberObject(value: Object): boolean; | Added|
294| ohos.util | types | isNativeError(value: Object): boolean; | Added|
295| ohos.util | types | isModuleNamespaceObject(value: Object): boolean; | Added|
296| ohos.util | types | isMapIterator(value: Object): boolean; | Added|
297| ohos.util | types | isMap(value: Object): boolean; | Added|
298| ohos.util | types | isInt32Array(value: Object): boolean; | Added|
299| ohos.util | types | isInt16Array(value: Object): boolean; | Added|
300| ohos.util | types | isInt8Array(value: Object): boolean; | Added|
301| ohos.util | types | isGeneratorObject(value: Object): boolean; | Added|
302| ohos.util | types | isGeneratorFunction(value: Object): boolean; | Added|
303| ohos.util | types | isFloat64Array(value: Object): boolean; | Added|
304| ohos.util | types | isFloat32Array(value: Object): boolean; | Added|
305| ohos.util | types | isExternal(value: Object): boolean; | Added|
306| ohos.util | types | isDate(value: Object): boolean; | Added|
307| ohos.util | types | isDataView(value: Object): boolean; | Added|
308| ohos.util | types | isBoxedPrimitive(value: Object): boolean; | Added|
309| ohos.util | types | isBooleanObject(value: Object): boolean; | Added|
310| ohos.util | types | isBigUint64Array(value: Object): boolean; | Added|
311| ohos.util | types | isBigInt64Array(value: Object): boolean; | Added|
312| ohos.util | types | isAsyncFunction(value: Object): boolean; | Added|
313| ohos.util | types | isArrayBuffer(value: Object): boolean; | Added|
314| ohos.util | types | isArgumentsObject(value: Object): boolean; | Added|
315| ohos.util | types | isArrayBufferView(value: Object): boolean; | Added|
316| ohos.util | types | isAnyArrayBuffer(value: Object): boolean; | Added|
317| ohos.util | types | constructor(); | Added|
318| ohos.util | Base64 | decodeSync(src: Uint8Array \| string): Uint8Array; | Added|
319| ohos.util | Base64 | encodeToStringSync(src: Uint8Array): string; | Added|
320| ohos.util | Base64 | encodeSync(src: Uint8Array): Uint8Array; | Added|
321| ohos.util | LruBuffer | getCapacity(): number; | Added|
322| ohos.util | LruBuffer | length:number | Added|
323| ohos.util | RationalNumber | valueOf(): number; | Added|
324| ohos.util.ArrayList | ArrayList | \[Symbol.iterator](): IterableIterator\<T>; | Added|
325| ohos.util.ArrayList | ArrayList | trimToCurrentLength(): void; | Added|
326| ohos.util.ArrayList | ArrayList | increaseCapacityTo(newCapacity: number): void; | Added|
327| ohos.util.ArrayList | ArrayList | isEmpty(): boolean; | Added|
328| ohos.util.ArrayList | ArrayList | convertToArray(): Array\<T>; | Added|
329| ohos.util.ArrayList | ArrayList | getCapacity(): number; | Added|
330| ohos.util.ArrayList | ArrayList | clone(): ArrayList\<T>; | Added|
331| ohos.util.ArrayList | ArrayList | clear(): void; | Added|
332| ohos.util.ArrayList | ArrayList | subArrayList(fromIndex: number, toIndex: number): ArrayList\<T>; | Added|
333| ohos.util.ArrayList | ArrayList | sort(comparator?: (firstValue: T, secondValue: T) => number): void; | Added|
334| ohos.util.ArrayList | ArrayList | forEach(callbackfn: (value: T, index?: number, arrlist?: ArrayList\<T>) => void, thisArg?: Object): void; | Added|
335| ohos.util.ArrayList | ArrayList | replaceAllElements(callbackfn: (value: T, index?: number, arrlist?: ArrayList\<T>) => T, thisArg?: Object): void; | Added|
336| ohos.util.ArrayList | ArrayList | removeByRange(fromIndex: number, toIndex: number): void; | Added|
337| ohos.util.ArrayList | ArrayList | getLastIndexOf(element: T): number; | Added|
338| ohos.util.ArrayList | ArrayList | remove(element: T): boolean; | Added|
339| ohos.util.ArrayList | ArrayList | removeByIndex(index: number): T; | Added|
340| ohos.util.ArrayList | ArrayList | getIndexOf(element: T): number; | Added|
341| ohos.util.ArrayList | ArrayList | has(element: T): boolean; | Added|
342| ohos.util.ArrayList | ArrayList | insert(element: T, index: number): void; | Added|
343| ohos.util.ArrayList | ArrayList | add(element: T): boolean; | Added|
344| ohos.util.ArrayList | ArrayList | length: number; | Added|
345| ohos.util.ArrayList | ArrayList | constructor(); | Added|
346| ohos.uri | URI | ssp: string; | Added|
347| ohos.uri | URI | authority: string; | Added|
348| ohos.uri | URI | fragment: string; | Added|
349| ohos.uri | URI | query: string; | Added|
350| ohos.uri | URI | path: string; | Added|
351| ohos.uri | URI | port: string; | Added|
352| ohos.uri | URI | host: string; | Added|
353| ohos.uri | URI | userInfo: string; | Added|
354| ohos.uri | URI | scheme: string; | Added|
355| ohos.uri | URI | normalize(): URI; | Added|
356| ohos.uri | URI | checkIsAbsolute(): boolean; | Added|
357| ohos.uri | URI | equals(other: URI): boolean; | Added|
358| ohos.uri | URI | toString(): string | Added|
359| ohos.uri | URI | constructor(uri: string); | Added|
360| ohos.convertxml | ConvertXML | convert(xml: string, options?: ConvertOptions) : Object; | Added|
361| ohos.convertxml | ConvertOptions | elementsKey: string; | Added|
362| ohos.convertxml | ConvertOptions | nameKey: string; | Added|
363| ohos.convertxml | ConvertOptions | typeKey: string; | Added|
364| ohos.convertxml | ConvertOptions | parentKey: string; | Added|
365| ohos.convertxml | ConvertOptions | commentKey: string; | Added|
366| ohos.convertxml | ConvertOptions | doctypeKey: string; | Added|
367| ohos.convertxml | ConvertOptions | cdataKey: string; | Added|
368| ohos.convertxml | ConvertOptions | textKey: string; | Added|
369| ohos.convertxml | ConvertOptions | attributesKey: string; | Added|
370| ohos.convertxml | ConvertOptions | instructionKey: string; | Added|
371| ohos.convertxml | ConvertOptions | declarationKey: string; | Added|
372| ohos.convertxml | ConvertOptions | ignoreText?: boolean; | Added|
373| ohos.convertxml | ConvertOptions | ignoreDoctype?: boolean; | Added|
374| ohos.convertxml | ConvertOptions | ignoreCDATA?: boolean; | Added|
375| ohos.convertxml | ConvertOptions | ignoreComment?: boolean; | Added|
376| ohos.convertxml | ConvertOptions | ignoreAttributes?: boolean; | Added|
377| ohos.convertxml | ConvertOptions | ignoreInstruction?: boolean; | Added|
378| ohos.convertxml | ConvertOptions | ignoreDeclaration?: boolean; | Added|
379| ohos.convertxml | ConvertOptions | trim: boolean; | Added|
380