what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zzln.java

88 lines
2.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
import java.util.Map;
/* loaded from: classes2.dex */
final class zzln<K, V> extends zzlj<K, V> {
private static final zzlj<Object, Object> zzadi = new zzln(null, new Object[0], 0);
private final transient int size;
private final transient Object[] zzadd;
private final transient int[] zzadj;
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Code restructure failed: missing block: B:32:0x0077, code lost:
r0[r8] = r5;
r1 = r1 + 1;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static <K, V> com.google.android.gms.internal.firebase_ml.zzln<K, V> zza(int r11, java.lang.Object[] r12) {
/*
Method dump skipped, instructions count: 244
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzln.zza(int, java.lang.Object[]):com.google.android.gms.internal.firebase_ml.zzln");
}
private zzln(int[] iArr, Object[] objArr, int i) {
this.zzadj = iArr;
this.zzadd = objArr;
this.size = i;
}
@Override // com.google.android.gms.internal.firebase_ml.zzlj, java.util.Map
public final V get(Object obj) {
int[] iArr = this.zzadj;
Object[] objArr = this.zzadd;
int i = this.size;
if (obj == null) {
return null;
}
if (i == 1) {
if (objArr[0].equals(obj)) {
return (V) objArr[1];
}
return null;
}
if (iArr == null) {
return null;
}
int length = iArr.length;
int zzal = zzle.zzal(obj.hashCode());
while (true) {
int i2 = zzal & (length - 1);
int i3 = iArr[i2];
if (i3 == -1) {
return null;
}
if (objArr[i3].equals(obj)) {
return (V) objArr[i3 ^ 1];
}
zzal = i2 + 1;
}
}
@Override // com.google.android.gms.internal.firebase_ml.zzlj
final zzll<Map.Entry<K, V>> zziq() {
return new zzlo(this, this.zzadd, 0, this.size);
}
@Override // com.google.android.gms.internal.firebase_ml.zzlj
final zzll<K> zzir() {
return new zzlq(this, new zzlr(this.zzadd, 0, this.size));
}
@Override // com.google.android.gms.internal.firebase_ml.zzlj
final zzlf<V> zzis() {
return new zzlr(this.zzadd, 1, this.size);
}
@Override // java.util.Map
public final int size() {
return this.size;
}
}