@cruglobal/godtools-shared 1.0.2-SNAPSHOT.1553 → 1.0.2-SNAPSHOT.1554

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.
@@ -32,11 +32,6 @@ if (typeof Array.prototype.fill === 'undefined') {
32
32
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
33
33
  }
34
34
  });
35
- if (typeof Math.log2 === 'undefined') {
36
- Math.log2 = function (x) {
37
- return Math.log(x) * Math.LOG2E;
38
- };
39
- }
40
35
  if (typeof Math.clz32 === 'undefined') {
41
36
  Math.clz32 = function (log, LN2) {
42
37
  return function (x) {
@@ -48,6 +43,11 @@ if (typeof Math.clz32 === 'undefined') {
48
43
  };
49
44
  }(Math.log, Math.LN2);
50
45
  }
46
+ if (typeof Math.log2 === 'undefined') {
47
+ Math.log2 = function (x) {
48
+ return Math.log(x) * Math.LOG2E;
49
+ };
50
+ }
51
51
  if (typeof String.prototype.startsWith === 'undefined') {
52
52
  Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
53
53
  position = position || 0;
@@ -100,14 +100,14 @@ if (typeof Math.imul === 'undefined') {
100
100
  setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta);
101
101
  setMetadataFor(ListIteratorImpl, 'ListIteratorImpl', classMeta, IteratorImpl);
102
102
  setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
103
- setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, List, Collection]);
103
+ setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Collection, List]);
104
104
  setMetadataFor(Map_0, 'Map', interfaceMeta);
105
105
  setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map_0]);
106
106
  setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map_0]);
107
107
  setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
108
108
  setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Set, Collection]);
109
109
  setMetadataFor(Companion, 'Companion', objectMeta);
110
- setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, List, Collection], ArrayList_init_$Create$);
110
+ setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, Collection, List], ArrayList_init_$Create$);
111
111
  setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map_0], HashMap_init_$Create$);
112
112
  setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [Set, Collection, AbstractMutableSet]);
113
113
  setMetadataFor(HashMapValues, 'HashMapValues', classMeta, AbstractMutableCollection, [Collection, AbstractMutableCollection]);