@cruglobal/godtools-shared 1.3.0-SNAPSHOT.2149 → 1.3.0-SNAPSHOT.2152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,6 +46,11 @@ if (typeof Array.prototype.fill === 'undefined') {
46
46
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
47
47
  }
48
48
  });
49
+ if (typeof Math.log2 === 'undefined') {
50
+ Math.log2 = function (x) {
51
+ return Math.log(x) * Math.LOG2E;
52
+ };
53
+ }
49
54
  if (typeof Math.clz32 === 'undefined') {
50
55
  Math.clz32 = function (log, LN2) {
51
56
  return function (x) {
@@ -57,11 +62,6 @@ if (typeof Math.clz32 === 'undefined') {
57
62
  };
58
63
  }(Math.log, Math.LN2);
59
64
  }
60
- if (typeof Math.log2 === 'undefined') {
61
- Math.log2 = function (x) {
62
- return Math.log(x) * Math.LOG2E;
63
- };
64
- }
65
65
  if (typeof String.prototype.startsWith === 'undefined') {
66
66
  Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
67
67
  position = position || 0;
@@ -129,13 +129,13 @@ if (typeof String.prototype.startsWith === 'undefined') {
129
129
  initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection]);
130
130
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
131
131
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
132
- initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtList]);
132
+ initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList, Collection]);
133
133
  initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList);
134
134
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
135
135
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
136
136
  initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, Collection]);
137
137
  initMetadataForCompanion(Companion_4);
138
- initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, Collection, KtList]);
138
+ initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, Collection]);
139
139
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
140
140
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
141
141
  initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, AbstractMutableCollection]);