Home
last modified time | relevance | path

Searched refs:errorUtil (Results 1 – 14 of 14) sorted by relevance

/commonlibrary/ets_utils/js_util_module/container/plainarray/
Djs_plainarray.ts30 const errorUtil = plainAbility.errorUtil; constant
57 errorUtil.checkNewTargetIsNullError('PlainArray', !new.target);
65 errorUtil.checkBindError('add', PlainArray, this);
66 errorUtil.checkTypeError('key', 'number', key);
70 errorUtil.checkBindError('clear', PlainArray, this);
78 errorUtil.checkBindError('clone', PlainArray, this);
86 errorUtil.checkBindError('has', PlainArray, this);
87 errorUtil.checkTypeError('key', 'number', key);
91 errorUtil.checkBindError('get', PlainArray, this);
92 errorUtil.checkTypeError('key', 'number', key);
[all …]
/commonlibrary/ets_utils/js_util_module/container/arraylist/
Djs_arraylist.ts29 const { errorUtil } = requireNapi('util.struct'); constant
34 errorUtil.checkRangeError('index', index, 0, obj.length - 1);
51 errorUtil.checkRangeError('index', index, 0, obj.length);
101 errorUtil.checkNewTargetIsNullError('ArrayList', !new.target);
108 errorUtil.checkBindError('add', ArrayList, this);
116 errorUtil.checkBindError('insert', ArrayList, this);
117 errorUtil.checkTypeError('index', 'Integer', index);
118 errorUtil.checkRangeError('index', index, 0, this.elementNum);
129 errorUtil.checkBindError('has', ArrayList, this);
138 errorUtil.checkBindError('getIndexOf', ArrayList, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/lightweightmap/
Djs_lightweightmap.ts30 const errorUtil = lightWeightAbility.errorUtil; constant
57 errorUtil.checkNewTargetIsNullError('LightWeightMap', !new.target);
65 errorUtil.checkBindError('hasAll', LightWeightMap, this);
66 errorUtil.checkTypeError('map', 'LightWeightMap', map);
79 errorUtil.checkBindError('hasKey', LightWeightMap, this);
83 errorUtil.checkBindError('hasValue', LightWeightMap, this);
87 errorUtil.checkBindError('increaseCapacityTo', LightWeightMap, this);
88 errorUtil.checkTypeError('minimumCapacity', 'Integer', minimumCapacity);
92 errorUtil.checkBindError('entries', LightWeightMap, this);
110 errorUtil.checkBindError('get', LightWeightMap, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/lightweightset/
Djs_lightweightset.ts30 const errorUtil = lightWeightAbility.errorUtil; constant
57 errorUtil.checkNewTargetIsNullError('LightWeightSet', !new.target);
65 errorUtil.checkBindError('add', LightWeightSet, this);
73 errorUtil.checkBindError('addAll', LightWeightSet, this);
74 errorUtil.checkTypeError('set', 'LightWeightSet', set);
89 errorUtil.checkBindError('hasAll', LightWeightSet, this);
90 errorUtil.checkTypeError('set', 'LightWeightSet', set);
100 errorUtil.checkBindError('has', LightWeightSet, this);
104 errorUtil.checkBindError('equal', LightWeightSet, this);
117 errorUtil.checkBindError('increaseCapacityTo', LightWeightSet, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/list/
Djs_list.ts29 const { errorUtil } = requireNapi('util.struct'); constant
37 errorUtil.checkRangeError('index', index, 0, obj.length - 1);
52 errorUtil.checkRangeError('index', index, 0, obj.length);
61 errorUtil.checkRangeError('index', index, 0, obj.length - 1);
83 errorUtil.checkRangeError('index', index, 0, obj.length - 1);
111 errorUtil.checkNewTargetIsNullError('List', !new.target);
133 errorUtil.checkBindError('get', List, this);
134 errorUtil.checkTypeError('index', 'Integer', index);
145 errorUtil.checkBindError('add', List, this);
160 errorUtil.checkBindError('clear', List, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/linkedlist/
Djs_linkedlist.ts29 const { errorUtil } = requireNapi('util.struct'); constant
38 errorUtil.checkRangeError('index', index, 0, length - 1);
55 errorUtil.checkRangeError('index', index, 0, length);
65 errorUtil.checkRangeError('index', index, 0, length - 1);
89 errorUtil.checkRangeError('index', index, 0, length - 1);
120 errorUtil.checkNewTargetIsNullError('LinkedList', !new.target);
143 errorUtil.checkBindError('get', LinkedList, this);
144 errorUtil.checkTypeError('index', 'Integer', index);
155 errorUtil.checkBindError('add', LinkedList, this);
170 errorUtil.checkBindError('addFirst', LinkedList, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/treemap/
Djs_treemap.ts30 const errorUtil = treeAbility.errorUtil; constant
58 errorUtil.checkNewTargetIsNullError('TreeMap', !new.target);
60 errorUtil.checkTypeError('comparator', 'callable', comparator);
69 errorUtil.checkBindError('isEmpty', TreeMap, this);
73 errorUtil.checkBindError('hasKey', TreeMap, this);
77 errorUtil.checkBindError('hasValue', TreeMap, this);
81 errorUtil.checkBindError('get', TreeMap, this);
90 errorUtil.checkBindError('getFirstKey', TreeMap, this);
99 errorUtil.checkBindError('getLastKey', TreeMap, this);
108 errorUtil.checkBindError('setAll', TreeMap, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/hashmap/
Djs_hashmap.ts30 const errorUtil = hashMapAbility.errorUtil; constant
57 errorUtil.checkNewTargetIsNullError('HashMap', !new.target);
65 errorUtil.checkBindError('isEmpty', HashMap, this);
69 errorUtil.checkBindError('hasKey', HashMap, this);
73 errorUtil.checkBindError('hasValue', HashMap, this);
77 errorUtil.checkBindError('get', HashMap, this);
81 errorUtil.checkBindError('setAll', HashMap, this);
82 errorUtil.checkTypeError('map', 'HashMap', map);
90 errorUtil.checkBindError('set', HashMap, this);
94 errorUtil.checkBindError('remove', HashMap, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/treeset/
Djs_treeset.ts30 const errorUtil = treeAbility.errorUtil; constant
58 errorUtil.checkNewTargetIsNullError('TreeSet', !new.target);
60 errorUtil.checkTypeError('comparator', 'callable', comparator);
69 errorUtil.checkBindError('isEmpty', TreeSet, this);
73 errorUtil.checkBindError('has', TreeSet, this);
77 errorUtil.checkBindError('add', TreeSet, this);
82 errorUtil.checkBindError('remove', TreeSet, this);
88 errorUtil.checkBindError('clear', TreeSet, this);
92 errorUtil.checkBindError('getFirstValue', TreeSet, this);
101 errorUtil.checkBindError('getLastValue', TreeSet, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/hashset/
Djs_hashset.ts30 const errorUtil = hashSetAbility.errorUtil; constant
57 errorUtil.checkNewTargetIsNullError('HashSet', !new.target);
65 errorUtil.checkBindError('isEmpty', HashSet, this);
69 errorUtil.checkBindError('has', HashSet, this);
73 errorUtil.checkBindError('add', HashSet, this);
80 errorUtil.checkBindError('remove', HashSet, this);
87 errorUtil.checkBindError('clear', HashSet, this);
92 errorUtil.checkBindError('forEach', HashSet, this);
93 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
101 errorUtil.checkBindError('values', HashSet, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/deque/
Djs_deque.ts29 const { errorUtil } = requireNapi('util.struct'); constant
34 errorUtil.checkRangeError('index', index, 0);
51 errorUtil.checkRangeError('index', index, 0);
93 errorUtil.checkNewTargetIsNullError('Deque', !new.target);
105 errorUtil.checkBindError('insertFront', Deque, this);
113 errorUtil.checkBindError('insertEnd', Deque, this);
121 errorUtil.checkBindError('getFirst', Deque, this);
128 errorUtil.checkBindError('getLast', Deque, this);
135 errorUtil.checkBindError('has', Deque, this);
145 errorUtil.checkBindError('popFirst', Deque, this);
[all …]
/commonlibrary/ets_utils/js_util_module/container/stack/
Djs_stack.ts29 const { errorUtil } = requireNapi('util.struct'); constant
34 errorUtil.checkRangeError('index', index, 0, obj.length - 1);
90 errorUtil.checkNewTargetIsNullError('Stack', !new.target);
97 errorUtil.checkBindError('push', Stack, this);
105 errorUtil.checkBindError('pop', Stack, this);
115 errorUtil.checkBindError('peek', Stack, this);
122 errorUtil.checkBindError('locate', Stack, this);
131 errorUtil.checkBindError('isEmpty', Stack, this);
136 errorUtil.checkBindError('forEach', Stack, this);
137 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
[all …]
/commonlibrary/ets_utils/js_util_module/container/queue/
Djs_queue.ts29 const { errorUtil } = requireNapi('util.struct'); constant
34 errorUtil.checkRangeError('index', index, 0, obj.length);
90 errorUtil.checkNewTargetIsNullError('Queue', !new.target);
100 errorUtil.checkBindError('add', Queue, this);
109 errorUtil.checkBindError('getFirst', Queue, this);
116 errorUtil.checkBindError('pop', Queue, this);
127 errorUtil.checkBindError('forEach', Queue, this);
128 errorUtil.checkTypeError('callbackfn', 'callable', callbackfn);
151 errorUtil.checkBindError('Symbol.iterator', Queue, this);
/commonlibrary/ets_utils/js_util_module/container/struct/
Djs_struct.ts1110 let errorUtil = { property in PlainArrayClass
1123 errorUtil