- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
56 lines
1.4 KiB
Java
56 lines
1.4 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.applovin.impl.ij;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class mb implements ij {
|
|
private final long[] a;
|
|
private final long[] b;
|
|
private final long c;
|
|
private final boolean d;
|
|
|
|
@Override // com.applovin.impl.ij
|
|
public boolean b() {
|
|
return this.d;
|
|
}
|
|
|
|
@Override // com.applovin.impl.ij
|
|
public long d() {
|
|
return this.c;
|
|
}
|
|
|
|
public mb(long[] jArr, long[] jArr2, long j) {
|
|
b1.a(jArr.length == jArr2.length);
|
|
int length = jArr2.length;
|
|
boolean z = length > 0;
|
|
this.d = z;
|
|
if (!z || jArr2[0] <= 0) {
|
|
this.a = jArr;
|
|
this.b = jArr2;
|
|
} else {
|
|
int i = length + 1;
|
|
long[] jArr3 = new long[i];
|
|
this.a = jArr3;
|
|
long[] jArr4 = new long[i];
|
|
this.b = jArr4;
|
|
System.arraycopy(jArr, 0, jArr3, 1, length);
|
|
System.arraycopy(jArr2, 0, jArr4, 1, length);
|
|
}
|
|
this.c = j;
|
|
}
|
|
|
|
@Override // com.applovin.impl.ij
|
|
public ij.a b(long j) {
|
|
if (!this.d) {
|
|
return new ij.a(kj.c);
|
|
}
|
|
int b = xp.b(this.b, j, true, true);
|
|
kj kjVar = new kj(this.b[b], this.a[b]);
|
|
if (kjVar.a != j && b != this.b.length - 1) {
|
|
int i = b + 1;
|
|
return new ij.a(kjVar, new kj(this.b[i], this.a[i]));
|
|
}
|
|
return new ij.a(kjVar);
|
|
}
|
|
}
|