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

2022-12-22 浏览 (893)

公共基础库子系统JS API变更

OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,公共基础库子系统的API变更如下:

接口变更

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙元能力子系统JS API变更

harmony 鸿蒙元能力子系统JS API变更

harmony 鸿蒙无障碍子系统JS API变更

harmony 鸿蒙帐号子系统JS API变更

harmony 鸿蒙ArkUI子系统JS API变更

harmony 鸿蒙电源服务子系统JS API变更

harmony 鸿蒙包管理子系统JS API变更

harmony 鸿蒙包管理子系统JS API变更

harmony 鸿蒙基础通信子系统JS API变更

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