openharmony 鸿蒙 js-apidiff-compiler-and-runtime

2023-02-03 浏览 (648)

JS API Changes of the Compiler and Runtime Subsystem

The table below lists the APIs changes of the compiler and runtime subsystem in OpenHarmony 3.1 Release over OpenHarmony 3.0 LTS.

API Changes

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.xmlXmlPullParserparse(option: ParseOptions): void;Added
ohos.xmlXmlPullParserconstructor(buffer: ArrayBuffer |DataView, encoding?: string);Added
ohos.xmlParseOptionstokenValueCallbackFunction?: (eventType: EventType, value: ParseInfo) => boolean;Added
ohos.xmlParseOptionsattributeValueCallbackFunction?: (name: string, value: string) => boolean;Added
ohos.xmlParseOptionstagValueCallbackFunction?: (name: string, value: string) => boolean;Added
ohos.xmlParseOptionsignoreNameSpace?: boolean;Added
ohos.xmlParseOptionssupportDoctype?: boolean;Added
ohos.xmlParseInfogetAttributeCount(): number;Added
ohos.xmlParseInfoisWhitespace(): boolean;Added
ohos.xmlParseInfoisEmptyElementTag(): boolean;Added
ohos.xmlParseInfogetText(): string;Added
ohos.xmlParseInfogetPrefix(): string;Added
ohos.xmlParseInfogetNamespace(): string;Added
ohos.xmlParseInfogetName(): string;Added
ohos.xmlParseInfogetLineNumber(): number;Added
ohos.xmlParseInfogetDepth(): number;Added
ohos.xmlParseInfogetColumnNumber(): number;Added
ohos.xmlEventTypeWHITESPACEAdded
ohos.xmlEventTypeENTITY_REFERENCEAdded
ohos.xmlEventTypeINSTRUCTIONAdded
ohos.xmlEventTypeDOCDECLAdded
ohos.xmlEventTypeCOMMENTAdded
ohos.xmlEventTypeCDSECTAdded
ohos.xmlEventTypeTEXTAdded
ohos.xmlEventTypeEND_TAGAdded
ohos.xmlEventTypeSTART_TAGAdded
ohos.xmlEventTypeEND_DOCUMENTAdded
ohos.xmlEventTypeSTART_DOCUMENTAdded
ohos.xmlXmlSerializersetDocType(text: string): void;Added
ohos.xmlXmlSerializersetText(text: string): void;Added
ohos.xmlXmlSerializersetCDATA(text: string): void;Added
ohos.xmlXmlSerializersetComment(text: string): void;Added
ohos.xmlXmlSerializersetNamespace(prefix: string, namespace: string): void;Added
ohos.xmlXmlSerializerendElement(): void;Added
ohos.xmlXmlSerializerstartElement(name: string): void;Added
ohos.xmlXmlSerializersetDeclaration(): void;Added
ohos.xmlXmlSerializeraddEmptyElement(name: string): void;Added
ohos.xmlXmlSerializersetAttributes(name: string, value: string): void;Added
ohos.xmlXmlSerializerconstructor(buffer: ArrayBuffer |DataView, encoding?: string);Added
ohos.util.VectorVector[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.VectorVectorcopyToArray(array: Array<T>): void;Added
ohos.util.VectorVectortrimToCurrentLength(): void;Added
ohos.util.VectorVectortoString(): string;Added
ohos.util.VectorVectorincreaseCapacityTo(newCapacity: number): void;Added
ohos.util.VectorVectorisEmpty(): boolean;Added
ohos.util.VectorVectorconvertToArray(): Array<T>;Added
ohos.util.VectorVectorgetCapacity(): number;Added
ohos.util.VectorVectorsetLength(newSize: number): void;Added
ohos.util.VectorVectorclone(): Vector<T>;Added
ohos.util.VectorVectorclear(): void;Added
ohos.util.VectorVectorsubVector(fromIndex: number, toIndex: number): Vector<T>;Added
ohos.util.VectorVectorsort(comparator?: (firstValue: T, secondValue: T) => number): void;Added
ohos.util.VectorVectorforEach(callbackfn: (value: T, index?: number, vector?: Vector<T>) => void, thisArg?: Object): void;Added
ohos.util.VectorVectorreplaceAllElements(callbackfn: (value: T, index?: number, vector?: Vector<T>) => T, thisArg?: Object): void;Added
ohos.util.VectorVectorremoveByRange(fromIndex: number, toIndex: number): void;Added
ohos.util.VectorVectorgetIndexFrom(element: T, index: number): number;Added
ohos.util.VectorVectorgetLastIndexFrom(element: T, index: number): number;Added
ohos.util.VectorVectorgetLastIndexOf(element: T): number;Added
ohos.util.VectorVectorset(index: number, element: T): T;Added
ohos.util.VectorVectorremove(element: T): boolean;Added
ohos.util.VectorVectorremoveByIndex(index: number): T;Added
ohos.util.VectorVectorgetLastElement(): T;Added
ohos.util.VectorVectorgetFirstElement(): T;Added
ohos.util.VectorVectorgetIndexOf(element: T): number;Added
ohos.util.VectorVectorget(index: number): T;Added
ohos.util.VectorVectorhas(element: T): boolean;Added
ohos.util.VectorVectorinsert(element: T, index: number): void;Added
ohos.util.VectorVectoradd(element: T): boolean;Added
ohos.util.VectorVectorlength: number;Added
ohos.util.VectorVectorconstructor();Added
ohos.util.TreeSetTreeSet[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.TreeSetTreeSetentries(): IterableIterator<[T, T]>;Added
ohos.util.TreeSetTreeSetvalues(): IterableIterator<T>;Added
ohos.util.TreeSetTreeSetforEach(callbackfn: (value?: T, key?: T, set?: TreeSet<T>) => void, thisArg?: Object): void;Added
ohos.util.TreeSetTreeSetpopLast(): T;Added
ohos.util.TreeSetTreeSetpopFirst(): T;Added
ohos.util.TreeSetTreeSetgetHigherValue(key: T): T;Added
ohos.util.TreeSetTreeSetgetLowerValue(key: T): T;Added
ohos.util.TreeSetTreeSetgetLastValue(): T;Added
ohos.util.TreeSetTreeSetgetFirstValue(): T;Added
ohos.util.TreeSetTreeSetclear(): void;Added
ohos.util.TreeSetTreeSetremove(value: T): boolean;Added
ohos.util.TreeSetTreeSetadd(value: T): boolean;Added
ohos.util.TreeSetTreeSethas(value: T): boolean;Added
ohos.util.TreeSetTreeSetisEmpty(): boolean;Added
ohos.util.TreeSetTreeSetlength: number;Added
ohos.util.TreeSetTreeSetconstructor(comparator?: (firstValue: T, secondValue: T) => boolean)Added
ohos.util.TreeMapTreeMap[Symbol.iterator](): IterableIterator<[K, V]>;Added
ohos.util.TreeMapTreeMapentries(): IterableIterator<[K, V]>;Added
ohos.util.TreeMapTreeMapforEach(callbackfn: (value?: V, key?: K, map?: TreeMap<K, V>) => void, thisArg?: Object): void;Added
ohos.util.TreeMapTreeMapreplace(key: K, newValue: V): boolean;Added
ohos.util.TreeMapTreeMapvalues(): IterableIterator<V>;Added
ohos.util.TreeMapTreeMapkeys(): IterableIterator<K>;Added
ohos.util.TreeMapTreeMapgetHigherKey(key: K): K;Added
ohos.util.TreeMapTreeMapgetLowerKey(key: K): K;Added
ohos.util.TreeMapTreeMapclear(): void;Added
ohos.util.TreeMapTreeMapremove(key: K): V;Added
ohos.util.TreeMapTreeMapset(key: K, value: V): Object;Added
ohos.util.TreeMapTreeMapsetAll(map: TreeMap<K, V>): void;Added
ohos.util.TreeMapTreeMapgetLastKey(): K;Added
ohos.util.TreeMapTreeMapgetFirstKey(): K;Added
ohos.util.TreeMapTreeMapget(key: K): V;Added
ohos.util.TreeMapTreeMaphasValue(value: V): boolean;Added
ohos.util.TreeMapTreeMaphasKey(key: K): boolean;Added
ohos.util.TreeMapTreeMapisEmpty(): boolean;Added
ohos.util.TreeMapTreeMaplength: number;Added
ohos.util.TreeMapTreeMapconstructor(comparator?: (firstValue: K, secondValue: K) => boolean);Added
ohos.util.StackStack[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.StackStackforEach(callbackfn: (value: T, index?: number, stack?: Stack<T>) => void, thisArg?: Object): void;Added
ohos.util.StackStacklocate(element: T): number;Added
ohos.util.StackStackpush(item: T): T;Added
ohos.util.StackStackpop(): T;Added
ohos.util.StackStackpeek(): T;Added
ohos.util.StackStackisEmpty(): boolean;Added
ohos.util.StackStacklength: number;Added
ohos.util.StackStackconstructor();Added
ohos.util.QueueQueue[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.QueueQueueforEach(callbackfn: (value: T, index?: number, Queue?: Queue<T>) => void, thisArg?: Object): void;Added
ohos.util.QueueQueuepop(): T;Added
ohos.util.QueueQueuegetFirst(): T;Added
ohos.util.QueueQueueadd(element: T): boolean;Added
ohos.util.QueueQueuelength: number;Added
ohos.util.QueueQueueconstructor();Added
ohos.util.PlainArrayPlainArray[Symbol.iterator](): IterableIterator<[number, T]>;Added
ohos.util.PlainArrayPlainArrayforEach(callbackfn: (value: T, index?: number, PlainArray?: PlainArray<T>) => void, thisArg?: Object): void;Added
ohos.util.PlainArrayPlainArraygetValueAt(index: number): T;Added
ohos.util.PlainArrayPlainArraytoString(): String;Added
ohos.util.PlainArrayPlainArraysetValueAt(index: number, value: T): void;Added
ohos.util.PlainArrayPlainArrayremoveRangeFrom(index: number, size: number): number;Added
ohos.util.PlainArrayPlainArrayremoveAt(index: number): T;Added
ohos.util.PlainArrayPlainArrayremove(key: number): T;Added
ohos.util.PlainArrayPlainArraygetKeyAt(index: number): number;Added
ohos.util.PlainArrayPlainArrayisEmpty(): boolean;Added
ohos.util.PlainArrayPlainArraygetIndexOfValue(value: T): number;Added
ohos.util.PlainArrayPlainArraygetIndexOfKey(key: number): number;Added
ohos.util.PlainArrayPlainArrayget(key: number): T;Added
ohos.util.PlainArrayPlainArrayhas(key: number): boolean;Added
ohos.util.PlainArrayPlainArrayclone(): PlainArray<T>;Added
ohos.util.PlainArrayPlainArrayclear(): void;Added
ohos.util.PlainArrayPlainArrayadd(key: number, value: T): void;Added
ohos.util.PlainArrayPlainArraylength: number;Added
ohos.util.PlainArrayPlainArrayconstructor();Added
ohos.util.ListList[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.ListListisEmpty(): boolean;Added
ohos.util.ListListconvertToArray(): Array<T>;Added
ohos.util.ListListreplaceAllElements(callbackfn: (value: T, index?: number, list?: List<T>) => T, thisArg?: Object): void;Added
ohos.util.ListListgetSubList(fromIndex: number, toIndex: number): List<T>;Added
ohos.util.ListListclear(): void;Added
ohos.util.ListListsort(comparator: (firstValue: T, secondValue: T) => number): void;Added
ohos.util.ListListforEach(callbackfn: (value: T, index?: number, List?: List<T>) => void, thisArg?: Object): void;Added
ohos.util.ListListequal(obj: Object): boolean;Added
ohos.util.ListListset(index: number, element: T): T;Added
ohos.util.ListListgetLast(): T;Added
ohos.util.ListListgetFirst(): T;Added
ohos.util.ListListgetLastIndexOf(element: T): number;Added
ohos.util.ListListremove(element: T): boolean;Added
ohos.util.ListListremoveByIndex(index: number): T;Added
ohos.util.ListListgetIndexOf(element: T): number;Added
ohos.util.ListListhas(element: T): boolean;Added
ohos.util.ListListget(index: number): T;Added
ohos.util.ListListinsert(element: T, index: number): void;Added
ohos.util.ListListadd(element: T): boolean;Added
ohos.util.ListListlength: number;Added
ohos.util.ListListconstructor();Added
ohos.util.LinkedListLinkedList[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.LinkedListLinkedListconvertToArray(): Array<T>;Added
ohos.util.LinkedListLinkedListclone(): LinkedList<T>;Added
ohos.util.LinkedListLinkedListclear(): void;Added
ohos.util.LinkedListLinkedListforEach(callbackfn: (value: T, index?: number, LinkedList?: LinkedList<T>) => void, thisArg?: Object): void;Added
ohos.util.LinkedListLinkedListset(index: number, element: T): T;Added
ohos.util.LinkedListLinkedListgetLast(): T;Added
ohos.util.LinkedListLinkedListgetFirst(): T;Added
ohos.util.LinkedListLinkedListgetLastIndexOf(element: T): number;Added
ohos.util.LinkedListLinkedListremoveLastFound(element: T): boolean;Added
ohos.util.LinkedListLinkedListremoveFirstFound(element: T): boolean;Added
ohos.util.LinkedListLinkedListremove(element: T): boolean;Added
ohos.util.LinkedListLinkedListremoveByIndex(index: number): T;Added
ohos.util.LinkedListLinkedListgetIndexOf(element: T): number;Added
ohos.util.LinkedListLinkedListhas(element: T): boolean;Added
ohos.util.LinkedListLinkedListremoveLast(): T;Added
ohos.util.LinkedListLinkedListremoveFirst(): T;Added
ohos.util.LinkedListLinkedListaddFirst(element: T): void;Added
ohos.util.LinkedListLinkedListget(index: number): T;Added
ohos.util.LinkedListLinkedListinsert(index: number, element: T): void;Added
ohos.util.LinkedListLinkedListadd(element: T): boolean;Added
ohos.util.LinkedListLinkedListlength: number;Added
ohos.util.LinkedListLinkedListconstructor();Added
ohos.util.LightWeightSetLightWeightSetisEmpty(): boolean;Added
ohos.util.LightWeightSetLightWeightSetentries(): IterableIterator<[T, T]>;Added
ohos.util.LightWeightSetLightWeightSetvalues(): IterableIterator<T>;Added
ohos.util.LightWeightSetLightWeightSetgetValueAt(index: number): T;Added
ohos.util.LightWeightSetLightWeightSettoArray(): Array<T>;Added
ohos.util.LightWeightSetLightWeightSettoString(): String;Added
ohos.util.LightWeightSetLightWeightSet[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.LightWeightSetLightWeightSetforEach(callbackfn: (value?: T, key?: T, set?: LightWeightSet<T>) => void, thisArg?: Object): void;Added
ohos.util.LightWeightSetLightWeightSetclear(): void;Added
ohos.util.LightWeightSetLightWeightSetremoveAt(index: number): boolean;Added
ohos.util.LightWeightSetLightWeightSetremove(key: T): T;Added
ohos.util.LightWeightSetLightWeightSetgetIndexOf(key: T): number;Added
ohos.util.LightWeightSetLightWeightSetincreaseCapacityTo(minimumCapacity: number): void;Added
ohos.util.LightWeightSetLightWeightSetequal(obj: Object): boolean;Added
ohos.util.LightWeightSetLightWeightSethas(key: T): boolean;Added
ohos.util.LightWeightSetLightWeightSethasAll(set: LightWeightSet<T>): boolean;Added
ohos.util.LightWeightSetLightWeightSetaddAll(set: LightWeightSet<T>): boolean;Added
ohos.util.LightWeightSetLightWeightSetadd(obj: T): boolean;Added
ohos.util.LightWeightSetLightWeightSetlength: number;Added
ohos.util.LightWeightSetLightWeightSetconstructor();Added
ohos.util.LightWeightMapLightWeightMapvalues(): IterableIterator<V>;Added
ohos.util.LightWeightMapLightWeightMapgetValueAt(index: number): V;Added
ohos.util.LightWeightMapLightWeightMaptoString(): String;Added
ohos.util.LightWeightMapLightWeightMap[Symbol.iterator](): IterableIterator<[K, V]>;Added
ohos.util.LightWeightMapLightWeightMapforEach(callbackfn: (value?: V, key?: K, map?: LightWeightMap<K, V>) => void, thisArg?: Object): void;Added
ohos.util.LightWeightMapLightWeightMapsetValueAt(index: number, newValue: V): boolean;Added
ohos.util.LightWeightMapLightWeightMapclear(): void;Added
ohos.util.LightWeightMapLightWeightMapremoveAt(index: number): boolean;Added
ohos.util.LightWeightMapLightWeightMapremove(key: K): V;Added
ohos.util.LightWeightMapLightWeightMapset(key: K, value: V): Object;Added
ohos.util.LightWeightMapLightWeightMapsetAll(map: LightWeightMap<K, V>): void;Added
ohos.util.LightWeightMapLightWeightMapkeys(): IterableIterator<K>;Added
ohos.util.LightWeightMapLightWeightMapgetKeyAt(index: number): K;Added
ohos.util.LightWeightMapLightWeightMapisEmpty(): boolean;Added
ohos.util.LightWeightMapLightWeightMapgetIndexOfValue(value: V): number;Added
ohos.util.LightWeightMapLightWeightMapgetIndexOfKey(key: K): number;Added
ohos.util.LightWeightMapLightWeightMapget(key: K): V;Added
ohos.util.LightWeightMapLightWeightMapentries(): IterableIterator<[K, V]>;Added
ohos.util.LightWeightMapLightWeightMapincreaseCapacityTo(minimumCapacity: number): void;Added
ohos.util.LightWeightMapLightWeightMaphasValue(value: V): boolean;Added
ohos.util.LightWeightMapLightWeightMaphasKey(key: K): boolean;Added
ohos.util.LightWeightMapLightWeightMaphasAll(map: LightWeightMap<K, V>): boolean;Added
ohos.util.LightWeightMapLightWeightMaplength: number;Added
ohos.util.LightWeightMapLightWeightMapconstructor();Added
ohos.util.HashSetHashSet[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.HashSetHashSetentries(): IterableIterator<[T, T]>;Added
ohos.util.HashSetHashSetvalues(): IterableIterator<T>;Added
ohos.util.HashSetHashSetforEach(callbackfn: (value?: T, key?: T, set?: HashSet<T>) => void, thisArg?: Object): void;Added
ohos.util.HashSetHashSetclear(): void;Added
ohos.util.HashSetHashSetremove(value: T): boolean;Added
ohos.util.HashSetHashSetadd(value: T): boolean;Added
ohos.util.HashSetHashSethas(value: T): boolean;Added
ohos.util.HashSetHashSetisEmpty(): boolean;Added
ohos.util.HashSetHashSetlength: number;Added
ohos.util.HashSetHashSetconstructor();Added
ohos.util.HashMapHashMap[Symbol.iterator](): IterableIterator<[K, V]>;Added
ohos.util.HashMapHashMapentries(): IterableIterator<[K, V]>;Added
ohos.util.HashMapHashMapforEach(callbackfn: (value?: V, key?: K, map?: HashMap<K, V>) => void, thisArg?: Object): void;Added
ohos.util.HashMapHashMapreplace(key: K, newValue: V): boolean;Added
ohos.util.HashMapHashMapvalues(): IterableIterator<V>;Added
ohos.util.HashMapHashMapkeys(): IterableIterator<K>;Added
ohos.util.HashMapHashMapclear(): void;Added
ohos.util.HashMapHashMapremove(key: K): V;Added
ohos.util.HashMapHashMapset(key: K, value: V): Object;Added
ohos.util.HashMapHashMapsetAll(map: HashMap<K, V>): void;Added
ohos.util.HashMapHashMapget(key: K): V;Added
ohos.util.HashMapHashMaphasValue(value: V): boolean;Added
ohos.util.HashMapHashMaphasKey(key: K): boolean;Added
ohos.util.HashMapHashMapisEmpty(): boolean;Added
ohos.util.HashMapHashMaplength: number;Added
ohos.util.HashMapHashMapconstructor();Added
ohos.util.DequeDeque[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.DequeDequeforEach(callbackfn: (value: T, index?: number, deque?: Deque<T>) => void, thisArg?: Object): void;Added
ohos.util.DequeDequepopLast(): T;Added
ohos.util.DequeDequepopFirst(): T;Added
ohos.util.DequeDequegetLast(): T;Added
ohos.util.DequeDequegetFirst(): T;Added
ohos.util.DequeDequehas(element: T): boolean;Added
ohos.util.DequeDequeinsertEnd(element: T): void;Added
ohos.util.DequeDequeinsertFront(element: T): void;Added
ohos.util.DequeDequelength: number;Added
ohos.util.DequeDequeconstructor();Added
ohos.utiltypesisWeakSet(value: Object): boolean;Added
ohos.utiltypesisWeakMap(value: Object): boolean;Added
ohos.utiltypesisUint32Array(value: Object): boolean;Added
ohos.utiltypesisUint16Array(value: Object): boolean;Added
ohos.utiltypesisUint8ClampedArray(value: Object): boolean;Added
ohos.utiltypesisUint8Array(value: Object): boolean;Added
ohos.utiltypesisTypedArray(value: Object): boolean;Added
ohos.utiltypesisSymbolObject(value: Object): boolean;Added
ohos.utiltypesisStringObject(value: Object): boolean;Added
ohos.utiltypesisSharedArrayBuffer(value: Object): boolean;Added
ohos.utiltypesisSetIterator(value: Object): boolean;Added
ohos.utiltypesisSet(value: Object): boolean;Added
ohos.utiltypesisRegExp(value: Object): boolean;Added
ohos.utiltypesisProxy(value: Object): boolean;Added
ohos.utiltypesisPromise(value: Object): boolean;Added
ohos.utiltypesisNumberObject(value: Object): boolean;Added
ohos.utiltypesisNativeError(value: Object): boolean;Added
ohos.utiltypesisModuleNamespaceObject(value: Object): boolean;Added
ohos.utiltypesisMapIterator(value: Object): boolean;Added
ohos.utiltypesisMap(value: Object): boolean;Added
ohos.utiltypesisInt32Array(value: Object): boolean;Added
ohos.utiltypesisInt16Array(value: Object): boolean;Added
ohos.utiltypesisInt8Array(value: Object): boolean;Added
ohos.utiltypesisGeneratorObject(value: Object): boolean;Added
ohos.utiltypesisGeneratorFunction(value: Object): boolean;Added
ohos.utiltypesisFloat64Array(value: Object): boolean;Added
ohos.utiltypesisFloat32Array(value: Object): boolean;Added
ohos.utiltypesisExternal(value: Object): boolean;Added
ohos.utiltypesisDate(value: Object): boolean;Added
ohos.utiltypesisDataView(value: Object): boolean;Added
ohos.utiltypesisBoxedPrimitive(value: Object): boolean;Added
ohos.utiltypesisBooleanObject(value: Object): boolean;Added
ohos.utiltypesisBigUint64Array(value: Object): boolean;Added
ohos.utiltypesisBigInt64Array(value: Object): boolean;Added
ohos.utiltypesisAsyncFunction(value: Object): boolean;Added
ohos.utiltypesisArrayBuffer(value: Object): boolean;Added
ohos.utiltypesisArgumentsObject(value: Object): boolean;Added
ohos.utiltypesisArrayBufferView(value: Object): boolean;Added
ohos.utiltypesisAnyArrayBuffer(value: Object): boolean;Added
ohos.utiltypesconstructor();Added
ohos.utilBase64decodeSync(src: Uint8Array |string): Uint8Array;Added
ohos.utilBase64encodeToStringSync(src: Uint8Array): string;Added
ohos.utilBase64encodeSync(src: Uint8Array): Uint8Array;Added
ohos.utilLruBuffergetCapacity(): number;Added
ohos.utilLruBufferlength:numberAdded
ohos.utilRationalNumbervalueOf(): number;Added
ohos.util.ArrayListArrayList[Symbol.iterator](): IterableIterator<T>;Added
ohos.util.ArrayListArrayListtrimToCurrentLength(): void;Added
ohos.util.ArrayListArrayListincreaseCapacityTo(newCapacity: number): void;Added
ohos.util.ArrayListArrayListisEmpty(): boolean;Added
ohos.util.ArrayListArrayListconvertToArray(): Array<T>;Added
ohos.util.ArrayListArrayListgetCapacity(): number;Added
ohos.util.ArrayListArrayListclone(): ArrayList<T>;Added
ohos.util.ArrayListArrayListclear(): void;Added
ohos.util.ArrayListArrayListsubArrayList(fromIndex: number, toIndex: number): ArrayList<T>;Added
ohos.util.ArrayListArrayListsort(comparator?: (firstValue: T, secondValue: T) => number): void;Added
ohos.util.ArrayListArrayListforEach(callbackfn: (value: T, index?: number, arrlist?: ArrayList<T>) => void, thisArg?: Object): void;Added
ohos.util.ArrayListArrayListreplaceAllElements(callbackfn: (value: T, index?: number, arrlist?: ArrayList<T>) => T, thisArg?: Object): void;Added
ohos.util.ArrayListArrayListremoveByRange(fromIndex: number, toIndex: number): void;Added
ohos.util.ArrayListArrayListgetLastIndexOf(element: T): number;Added
ohos.util.ArrayListArrayListremove(element: T): boolean;Added
ohos.util.ArrayListArrayListremoveByIndex(index: number): T;Added
ohos.util.ArrayListArrayListgetIndexOf(element: T): number;Added
ohos.util.ArrayListArrayListhas(element: T): boolean;Added
ohos.util.ArrayListArrayListinsert(element: T, index: number): void;Added
ohos.util.ArrayListArrayListadd(element: T): boolean;Added
ohos.util.ArrayListArrayListlength: number;Added
ohos.util.ArrayListArrayListconstructor();Added
ohos.uriURIssp: string;Added
ohos.uriURIauthority: string;Added
ohos.uriURIfragment: string;Added
ohos.uriURIquery: string;Added
ohos.uriURIpath: string;Added
ohos.uriURIport: string;Added
ohos.uriURIhost: string;Added
ohos.uriURIuserInfo: string;Added
ohos.uriURIscheme: string;Added
ohos.uriURInormalize(): URI;Added
ohos.uriURIcheckIsAbsolute(): boolean;Added
ohos.uriURIequals(other: URI): boolean;Added
ohos.uriURItoString(): stringAdded
ohos.uriURIconstructor(uri: string);Added
ohos.convertxmlConvertXMLconvert(xml: string, options?: ConvertOptions) : Object;Added
ohos.convertxmlConvertOptionselementsKey: string;Added
ohos.convertxmlConvertOptionsnameKey: string;Added
ohos.convertxmlConvertOptionstypeKey: string;Added
ohos.convertxmlConvertOptionsparentKey: string;Added
ohos.convertxmlConvertOptionscommentKey: string;Added
ohos.convertxmlConvertOptionsdoctypeKey: string;Added
ohos.convertxmlConvertOptionscdataKey: string;Added
ohos.convertxmlConvertOptionstextKey: string;Added
ohos.convertxmlConvertOptionsattributesKey: string;Added
ohos.convertxmlConvertOptionsinstructionKey: string;Added
ohos.convertxmlConvertOptionsdeclarationKey: string;Added
ohos.convertxmlConvertOptionsignoreText?: boolean;Added
ohos.convertxmlConvertOptionsignoreDoctype?: boolean;Added
ohos.convertxmlConvertOptionsignoreCDATA?: boolean;Added
ohos.convertxmlConvertOptionsignoreComment?: boolean;Added
ohos.convertxmlConvertOptionsignoreAttributes?: boolean;Added
ohos.convertxmlConvertOptionsignoreInstruction?: boolean;Added
ohos.convertxmlConvertOptionsignoreDeclaration?: boolean;Added
ohos.convertxmlConvertOptionstrim: boolean;Added

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙JS API Changes of the Ability Framework

harmony 鸿蒙JS API Changes of the Accessibility Subsystem

harmony 鸿蒙JS API Changes of the Account Subsystem

harmony 鸿蒙JS API Changes of the ArkUI Development Framework

harmony 鸿蒙JS API Changes of the Power Management Subsystem

harmony 鸿蒙JS API Changes of the Bundle Management Framework

harmony 鸿蒙JS API Changes of the Communication Subsystem

harmony 鸿蒙JS API Changes of the DFX Subsystem

harmony 鸿蒙JS API Changes of the Distributed Data Management Subsystem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/86a592db45334ae69210926bee752f4d