what-the-bank/sources/com/google/android/gms/internal/gtm/zzrr.java

88 lines
2.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.gtm;
/* loaded from: classes2.dex */
public class zzrr {
private static final zzqp zzavr = zzqp.zzoq();
private zzps zzbcb;
private volatile zzsk zzbcc;
private volatile zzps zzbcd;
public int hashCode() {
return 1;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzrr)) {
return false;
}
zzrr zzrrVar = (zzrr) obj;
zzsk zzskVar = this.zzbcc;
zzsk zzskVar2 = zzrrVar.zzbcc;
if (zzskVar == null && zzskVar2 == null) {
return zzmv().equals(zzrrVar.zzmv());
}
if (zzskVar != null && zzskVar2 != null) {
return zzskVar.equals(zzskVar2);
}
if (zzskVar != null) {
return zzskVar.equals(zzrrVar.zzh(zzskVar.zzpi()));
}
return zzh(zzskVar2.zzpi()).equals(zzskVar2);
}
private final zzsk zzh(zzsk zzskVar) {
if (this.zzbcc == null) {
synchronized (this) {
if (this.zzbcc == null) {
try {
this.zzbcc = zzskVar;
this.zzbcd = zzps.zzavx;
} catch (zzrk unused) {
this.zzbcc = zzskVar;
this.zzbcd = zzps.zzavx;
}
}
}
}
return this.zzbcc;
}
public final int zzpe() {
if (this.zzbcd != null) {
return this.zzbcd.size();
}
if (this.zzbcc != null) {
return this.zzbcc.zzpe();
}
return 0;
}
public final zzps zzmv() {
if (this.zzbcd != null) {
return this.zzbcd;
}
synchronized (this) {
if (this.zzbcd != null) {
return this.zzbcd;
}
if (this.zzbcc == null) {
this.zzbcd = zzps.zzavx;
} else {
this.zzbcd = this.zzbcc.zzmv();
}
return this.zzbcd;
}
}
public final zzsk zzi(zzsk zzskVar) {
zzsk zzskVar2 = this.zzbcc;
this.zzbcb = null;
this.zzbcd = null;
this.zzbcc = zzskVar;
return zzskVar2;
}
}