You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

195 lines
4.6 KiB

package p040n;
import java.util.Arrays;
import java.util.HashSet;
/* renamed from: n.i */
/* loaded from: classes.dex */
public class C1491i implements Comparable<C1491i> {
/* renamed from: u */
public static int f3288u = 1;
/* renamed from: d */
public boolean f3289d;
/* renamed from: e */
public String f3290e;
/* renamed from: i */
public float f3294i;
/* renamed from: m */
public EnumC1492a f3298m;
/* renamed from: f */
public int f3291f = -1;
/* renamed from: g */
public int f3292g = -1;
/* renamed from: h */
public int f3293h = 0;
/* renamed from: j */
public boolean f3295j = false;
/* renamed from: k */
public float[] f3296k = new float[9];
/* renamed from: l */
public float[] f3297l = new float[9];
/* renamed from: n */
public C1479b[] f3299n = new C1479b[16];
/* renamed from: o */
public int f3300o = 0;
/* renamed from: p */
public int f3301p = 0;
/* renamed from: q */
public boolean f3302q = false;
/* renamed from: r */
public int f3303r = -1;
/* renamed from: s */
public float f3304s = 0.0f;
/* renamed from: t */
public HashSet<C1479b> f3305t = null;
/* renamed from: n.i$a */
/* loaded from: classes.dex */
public enum EnumC1492a {
UNRESTRICTED,
CONSTANT,
SLACK,
ERROR,
UNKNOWN
}
public C1491i(EnumC1492a enumC1492a, String str) {
this.f3298m = enumC1492a;
}
/* renamed from: c */
public static void m1195c() {
f3288u++;
}
/* renamed from: a */
public final void m1197a(C1479b c1479b) {
int i = 0;
while (true) {
int i2 = this.f3300o;
if (i >= i2) {
C1479b[] c1479bArr = this.f3299n;
if (i2 >= c1479bArr.length) {
this.f3299n = (C1479b[]) Arrays.copyOf(c1479bArr, c1479bArr.length * 2);
}
C1479b[] c1479bArr2 = this.f3299n;
int i3 = this.f3300o;
c1479bArr2[i3] = c1479b;
this.f3300o = i3 + 1;
return;
} else if (this.f3299n[i] == c1479b) {
return;
} else {
i++;
}
}
}
@Override // java.lang.Comparable
/* renamed from: b */
public int compareTo(C1491i c1491i) {
return this.f3291f - c1491i.f3291f;
}
/* renamed from: d */
public final void m1194d(C1479b c1479b) {
int i = this.f3300o;
int i2 = 0;
while (i2 < i) {
if (this.f3299n[i2] == c1479b) {
while (i2 < i - 1) {
C1479b[] c1479bArr = this.f3299n;
int i3 = i2 + 1;
c1479bArr[i2] = c1479bArr[i3];
i2 = i3;
}
this.f3300o--;
return;
}
i2++;
}
}
/* renamed from: e */
public void m1193e() {
this.f3290e = null;
this.f3298m = EnumC1492a.UNKNOWN;
this.f3293h = 0;
this.f3291f = -1;
this.f3292g = -1;
this.f3294i = 0.0f;
this.f3295j = false;
this.f3302q = false;
this.f3303r = -1;
this.f3304s = 0.0f;
int i = this.f3300o;
for (int i2 = 0; i2 < i; i2++) {
this.f3299n[i2] = null;
}
this.f3300o = 0;
this.f3301p = 0;
this.f3289d = false;
Arrays.fill(this.f3297l, 0.0f);
}
/* renamed from: f */
public void m1192f(C1482d c1482d, float f) {
this.f3294i = f;
this.f3295j = true;
this.f3302q = false;
this.f3303r = -1;
this.f3304s = 0.0f;
int i = this.f3300o;
this.f3292g = -1;
for (int i2 = 0; i2 < i; i2++) {
this.f3299n[i2].m1269A(c1482d, this, false);
}
this.f3300o = 0;
}
/* renamed from: g */
public void m1191g(EnumC1492a enumC1492a, String str) {
this.f3298m = enumC1492a;
}
/* renamed from: h */
public final void m1190h(C1482d c1482d, C1479b c1479b) {
int i = this.f3300o;
for (int i2 = 0; i2 < i; i2++) {
this.f3299n[i2].mo1209B(c1482d, c1479b, false);
}
this.f3300o = 0;
}
public String toString() {
StringBuilder sb;
if (this.f3290e != null) {
sb = new StringBuilder();
sb.append("");
sb.append(this.f3290e);
} else {
sb = new StringBuilder();
sb.append("");
sb.append(this.f3291f);
}
return sb.toString();
}
}