what-the-bank/sources/o/iJs.java

67 lines
1.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Formatter;
/* loaded from: classes2.dex */
class iJs {
final hOP d;
final vDP[] e;
/* JADX INFO: Access modifiers changed from: package-private */
public iJs(hOP hop) {
this.d = new hOP(hop);
this.e = new vDP[(hop.d - hop.h) + 1];
}
/* JADX INFO: Access modifiers changed from: package-private */
public final vDP a(int i) {
vDP vdp;
vDP vdp2;
vDP vdp3 = this.e[i - this.d.h];
if (vdp3 != null) {
return vdp3;
}
for (int i2 = 1; i2 < 5; i2++) {
int i3 = (i - this.d.h) - i2;
if (i3 >= 0 && (vdp2 = this.e[i3]) != null) {
return vdp2;
}
int i4 = (i - this.d.h) + i2;
vDP[] vdpArr = this.e;
if (i4 < vdpArr.length && (vdp = vdpArr[i4]) != null) {
return vdp;
}
}
return null;
}
public String toString() {
Formatter formatter = new Formatter();
try {
int i = 0;
for (vDP vdp : this.e) {
if (vdp == null) {
formatter.format("%3d: | %n", Integer.valueOf(i));
} else {
formatter.format("%3d: %3d|%3d%n", Integer.valueOf(i), Integer.valueOf(vdp.b), Integer.valueOf(vdp.e));
}
i++;
}
String obj = formatter.toString();
formatter.close();
return obj;
} catch (Throwable th) {
try {
throw th;
} catch (Throwable th2) {
try {
formatter.close();
} catch (Throwable th3) {
th.addSuppressed(th3);
}
throw th2;
}
}
}
}