- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
108 lines
2.6 KiB
Java
108 lines
2.6 KiB
Java
package com.applovin.impl;
|
|
|
|
import java.util.Arrays;
|
|
import java.util.Comparator;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class f2 implements h8 {
|
|
protected final oo a;
|
|
protected final int b;
|
|
protected final int[] c;
|
|
private final int d;
|
|
private final f9[] e;
|
|
private final long[] f;
|
|
private int g;
|
|
|
|
@Override // com.applovin.impl.so
|
|
public final oo a() {
|
|
return this.a;
|
|
}
|
|
|
|
@Override // com.applovin.impl.h8
|
|
public void a(float f) {
|
|
}
|
|
|
|
@Override // com.applovin.impl.h8
|
|
public void f() {
|
|
}
|
|
|
|
@Override // com.applovin.impl.h8
|
|
public void i() {
|
|
}
|
|
|
|
public f2(oo ooVar, int[] iArr, int i) {
|
|
int i2 = 0;
|
|
b1.b(iArr.length > 0);
|
|
this.d = i;
|
|
this.a = (oo) b1.a(ooVar);
|
|
int length = iArr.length;
|
|
this.b = length;
|
|
this.e = new f9[length];
|
|
for (int i3 = 0; i3 < iArr.length; i3++) {
|
|
this.e[i3] = ooVar.a(iArr[i3]);
|
|
}
|
|
Arrays.sort(this.e, new Comparator() { // from class: com.applovin.impl.f2$$ExternalSyntheticLambda0
|
|
@Override // java.util.Comparator
|
|
public final int compare(Object obj, Object obj2) {
|
|
int a;
|
|
a = f2.a((f9) obj, (f9) obj2);
|
|
return a;
|
|
}
|
|
});
|
|
this.c = new int[this.b];
|
|
while (true) {
|
|
int i4 = this.b;
|
|
if (i2 < i4) {
|
|
this.c[i2] = ooVar.a(this.e[i2]);
|
|
i2++;
|
|
} else {
|
|
this.f = new long[i4];
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // com.applovin.impl.so
|
|
public final f9 a(int i) {
|
|
return this.e[i];
|
|
}
|
|
|
|
@Override // com.applovin.impl.so
|
|
public final int b(int i) {
|
|
return this.c[i];
|
|
}
|
|
|
|
@Override // com.applovin.impl.h8
|
|
public final f9 g() {
|
|
return this.e[h()];
|
|
}
|
|
|
|
public int hashCode() {
|
|
if (this.g == 0) {
|
|
this.g = (System.identityHashCode(this.a) * 31) + Arrays.hashCode(this.c);
|
|
}
|
|
return this.g;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || getClass() != obj.getClass()) {
|
|
return false;
|
|
}
|
|
f2 f2Var = (f2) obj;
|
|
return this.a == f2Var.a && Arrays.equals(this.c, f2Var.c);
|
|
}
|
|
|
|
@Override // com.applovin.impl.so
|
|
public final int b() {
|
|
return this.c.length;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static /* synthetic */ int a(f9 f9Var, f9 f9Var2) {
|
|
return f9Var2.i - f9Var.i;
|
|
}
|
|
}
|