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

88 lines
2.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
/* loaded from: classes2.dex */
public class zzuv {
private static final zztr zzbkc = zztr.zzql();
private zzsw zzbpy;
private volatile zzvo zzbpz;
private volatile zzsw zzbqa;
public int hashCode() {
return 1;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzuv)) {
return false;
}
zzuv zzuvVar = (zzuv) obj;
zzvo zzvoVar = this.zzbpz;
zzvo zzvoVar2 = zzuvVar.zzbpz;
if (zzvoVar == null && zzvoVar2 == null) {
return zzpp().equals(zzuvVar.zzpp());
}
if (zzvoVar != null && zzvoVar2 != null) {
return zzvoVar.equals(zzvoVar2);
}
if (zzvoVar != null) {
return zzvoVar.equals(zzuvVar.zzh(zzvoVar.zzre()));
}
return zzh(zzvoVar2.zzre()).equals(zzvoVar2);
}
private final zzvo zzh(zzvo zzvoVar) {
if (this.zzbpz == null) {
synchronized (this) {
if (this.zzbpz == null) {
try {
this.zzbpz = zzvoVar;
this.zzbqa = zzsw.zzbkl;
} catch (zzuo unused) {
this.zzbpz = zzvoVar;
this.zzbqa = zzsw.zzbkl;
}
}
}
}
return this.zzbpz;
}
public final int zzqy() {
if (this.zzbqa != null) {
return this.zzbqa.size();
}
if (this.zzbpz != null) {
return this.zzbpz.zzqy();
}
return 0;
}
public final zzsw zzpp() {
if (this.zzbqa != null) {
return this.zzbqa;
}
synchronized (this) {
if (this.zzbqa != null) {
return this.zzbqa;
}
if (this.zzbpz == null) {
this.zzbqa = zzsw.zzbkl;
} else {
this.zzbqa = this.zzbpz.zzpp();
}
return this.zzbqa;
}
}
public final zzvo zzi(zzvo zzvoVar) {
zzvo zzvoVar2 = this.zzbpz;
this.zzbpy = null;
this.zzbqa = null;
this.zzbpz = zzvoVar;
return zzvoVar2;
}
}