Home
last modified time | relevance | path

Searched refs:callbackfn (Results 1 – 25 of 42) sorted by relevance

12

/ohos5.0/commonlibrary/ets_utils/js_util_module/container/list/
H A Djs_list.ts263 replaceAllElements(callbackfn: (value: T, index?: number, list?: List<T>) => T,
266 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
271 this.getNode(index).element = callbackfn.call(thisArg, this.head.element, index, this);
275 this.getNode(++index).element = callbackfn.call(thisArg, current.element, index, this);
384 forEach(callbackfn: (value: T, index?: number, list?: List<T>) => void,
387 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
392 callbackfn.call(thisArg, this.head.element, index, this);
396 callbackfn.call(thisArg, current.element, ++index, this);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/arraylist/
H A Djs_arraylist.ts198 replaceAllElements(callbackfn: (value: T, index?: number, arrList?: ArrayList<T>) => T,
201 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
203 this[i] = callbackfn.call(thisArg, this[i], i, this);
206 forEach(callbackfn: (value: T, index?: number, arrList?: ArrayList<T>) => void,
209 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
211 callbackfn.call(thisArg, this[i], i, this);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/hashset/
H A Djs_hashset.ts90 forEach(callbackfn: (value?: T, key?: T, set?: HashSet<T>) => void,
93 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
97 callbackfn.call(thisArg, tagetArray[i].key, tagetArray[i].key, this);
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/
H A Darkts-collections-introduction.md90 | forEach(callbackfn: (value: T, index: number, array: T[]) =&gt; void, thisArg?: any): void | forE…
91 | map&lt;U&gt;(callbackfn: (value: T, index: number, array: T[]) =&gt; U, thisArg?: any): U[] | map…
93 | reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) =&gt; T)…
94 | reduce&lt;U&gt;(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[])…
129 | forEach(callbackfn: (value: number, index: number, array: Int8Array) =&gt; void, thisArg?: any): …
132 | map(callbackfn: (value: number, index: number, array: Int8Array) =&gt; number, thisArg?: any): In…
133 | reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int…
134 | reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int…
135 | reduce&lt;U&gt;(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array:…
162 | forEach(callbackfn: (value: V, key: K, map: Map&lt;K, V&gt;) =&gt; void, thisArg?: any): void | f…
[all …]
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-compiler-and-runtime.md61 | ohos.util.Vector | Vector | forEach(callbackfn: (value: T, index?: number, vector?: Vector\<T>) =…
62 | ohos.util.Vector | Vector | replaceAllElements(callbackfn: (value: T, index?: number, vector?: Ve…
82 | ohos.util.TreeSet | TreeSet | forEach(callbackfn: (value?: T, key?: T, set?: TreeSet\<T>) => void…
98 | ohos.util.TreeMap | TreeMap | forEach(callbackfn: (value?: V, key?: K, map?: TreeMap\<K, V>) => v…
117 | ohos.util.Stack | Stack | forEach(callbackfn: (value: T, index?: number, stack?: Stack\<T>) => vo…
126 | ohos.util.Queue | Queue | forEach(callbackfn: (value: T, index?: number, Queue?: Queue\<T>) => vo…
154 | ohos.util.List | List | replaceAllElements(callbackfn: (value: T, index?: number, list?: List\<T>…
158 | ohos.util.List | List | forEach(callbackfn: (value: T, index?: number, List?: List\<T>) => void, …
243 | ohos.util.HashSet | HashSet | forEach(callbackfn: (value?: T, key?: T, set?: HashSet\<T>) => void…
253 | ohos.util.HashMap | HashMap | forEach(callbackfn: (value?: V, key?: K, map?: HashMap\<K, V>) => v…
[all …]
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/queue/
H A Djs_queue.ts131 forEach(callbackfn: (value: T, index?: number, queue?: Queue<T>) => void,
134 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
141 callbackfn.call(thisArg, this[i], k, this);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/stack/
H A Djs_stack.ts140 forEach(callbackfn: (value: T, index?: number, stack?: Stack<T>) => void,
143 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
145 callbackfn.call(thisArg, this[i], i, this);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/hashmap/
H A Djs_hashmap.ts140 forEach(callbackfn: (value?: V, key?: K, map?: HashMap<K, V>) => void,
143 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
147 callbackfn.call(thisArg, tagetArray[i].value, tagetArray[i].key, this);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/deque/
H A Djs_deque.ts170 forEach(callbackfn: (value: T, index?: number, deque?: Deque<T>) => void,
173 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
177 callbackfn.call(thisArg, this[i], k, this);
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-compiler-and-runtime.md61 | ohos.util.Vector | Vector | forEach(callbackfn: (value: T, index?: number, vector?: Vector\<T>) =…
62 | ohos.util.Vector | Vector | replaceAllElements(callbackfn: (value: T, index?: number, vector?: Ve…
82 | ohos.util.TreeSet | TreeSet | forEach(callbackfn: (value?: T, key?: T, set?: TreeSet\<T>) => void…
98 | ohos.util.TreeMap | TreeMap | forEach(callbackfn: (value?: V, key?: K, map?: TreeMap\<K, V>) => v…
117 | ohos.util.Stack | Stack | forEach(callbackfn: (value: T, index?: number, stack?: Stack\<T>) => vo…
126 | ohos.util.Queue | Queue | forEach(callbackfn: (value: T, index?: number, Queue?: Queue\<T>) => vo…
154 | ohos.util.List | List | replaceAllElements(callbackfn: (value: T, index?: number, list?: List\<T>…
158 | ohos.util.List | List | forEach(callbackfn: (value: T, index?: number, List?: List\<T>) => void, …
243 | ohos.util.HashSet | HashSet | forEach(callbackfn: (value?: T, key?: T, set?: HashSet\<T>) => void…
253 | ohos.util.HashMap | HashMap | forEach(callbackfn: (value?: V, key?: K, map?: HashMap\<K, V>) => v…
[all …]
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/vector/
H A Djs_vector.ts241 replaceAllElements(callbackfn: (value: T, index?: number, vector?: Vector<T>) => T,
244 this[i] = callbackfn.call(thisArg, this[i], i, this);
247 forEach(callbackfn: (value: T, index?: number, vector?: Vector<T>) => void,
250 callbackfn.call(thisArg, this[i], i, this);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/lightweightset/
H A Djs_lightweightset.ts157 forEach(callbackfn: (value?: T, key?: T, set?: LightWeightSet<T>) => void,
160 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
162 callbackfn.call(thisArg, this.members.keys[i], this.members.keys[i], this);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/plainarray/
H A Djs_plainarray.ts163 forEach(callbackfn: (value: T, index?: number, PlainArray?: PlainArray<T>) => void,
166 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
168 callbackfn.call(thisArg, this.members.values[i], this.members.keys[i]);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/treeset/
H A Djs_treeset.ts178 forEach(callbackfn: (value?: T, key?: T, set?: TreeSet<T>) => void,
181 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
184 callbackfn.call(thisArg, tagetArray[i].value as T, tagetArray[i].key);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/puv2_common/
H A Dpuv2_updatefunc.ts120 …public forEach(callbackfn: (value: UpdateFuncRecord, key: number, map: Map<number, UpdateFuncRecor…
121 this.map_.forEach(callbackfn);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/treemap/
H A Djs_treemap.ts196 forEach(callbackfn: (value?: V, key?: K, map?: TreeMap<K, V>) => void,
199 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
201callbackfn.call(thisArg, this.constitute.keyValueArray[i].value as V, this.constitute.keyValueArra…
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/lightweightmap/
H A Djs_lightweightmap.ts204 forEach(callbackfn: (value?: V, key?: K, map?: LightWeightMap<K, V>) => void,
207 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
209 callbackfn.call(thisArg, this.members.values[i], this.members.keys[i], this);
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/linkedlist/
H A Djs_linkedlist.ts397 forEach(callbackfn: (value: T, index?: number, linkedList?: LinkedList<T>) => void,
400 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
405 callbackfn.call(thisArg, this.head.element, index, this);
409 callbackfn.call(thisArg, current.element, ++index, this);
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Darkts-collections-introduction.md90 | forEach(callbackfn: (value: T, index: number, array: T[]) =&gt; void, thisArg?: any): void | forE…
91 | map&lt;U&gt;(callbackfn: (value: T, index: number, array: T[]) =&gt; U, thisArg?: any): U[] | map…
93 | reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) =&gt; T)…
94 | reduce&lt;U&gt;(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[])…
129 | forEach(callbackfn: (value: number, index: number, array: Int8Array) =&gt; void, thisArg?: any): …
132 | map(callbackfn: (value: number, index: number, array: Int8Array) =&gt; number, thisArg?: any): In…
133 | reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int…
134 | reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int…
135 | reduce&lt;U&gt;(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array:…
162 | forEach(callbackfn: (value: V, key: K, map: Map&lt;K, V&gt;) =&gt; void, thisArg?: any): void | f…
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-queue.md195 | thisArg | Object | 否 | callbackfn被调用时用作this值,默认值为当前实例对象。 |
197 callbackfn的参数说明:
H A Djs-apis-vector.md311 | thisArg | Object | 否 | callbackfn被调用时用作this值,默认值为当前实例对象。 |
313 callbackfn的参数说明:
349 | thisArg | Object | 否 | callbackfn被调用时用作this值,默认值为当前实例对象。 |
351 callbackfn的参数说明:
H A Djs-apis-stack.md233 | thisArg | Object | 否 | callbackfn被调用时用作this值,默认值为当前实例对象。 |
235 callbackfn的参数说明:
H A Djs-apis-list.md465 | thisArg | Object | 否 | callbackfn被调用时用作this值,默认值为当前实例对象。 |
467 callbackfn的参数说明:
514 | thisArg | Object | 否 | callbackfn被调用时用作this值,默认值为当前实例对象。 |
516 callbackfn的参数说明:
H A Djs-apis-arraylist.md411 | thisArg | Object | 否 | callbackfn被调用时用作this值,默认值为当前实例对象。 |
413 callbackfn的参数说明:
460 | thisArg | Object | 否 | callbackfn被调用时用作this值,默认值为当前实例对象。 |
462 callbackfn的参数说明:
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_modifier/src/
H A Dmodifier_utilities.ts212 public forEach(callbackfn: (value: AttributeModifierWithKey, key: Symbol,
214 this.map_.forEach(callbackfn, thisArg);

12