33 lines
893 B
Java
33 lines
893 B
Java
|
package com.google.android.gms.internal.firebase_messaging;
|
||
|
|
||
|
import java.lang.ref.ReferenceQueue;
|
||
|
import java.lang.ref.WeakReference;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
final class zzr extends WeakReference<Throwable> {
|
||
|
private final int zza;
|
||
|
|
||
|
public zzr(Throwable th, ReferenceQueue<Throwable> referenceQueue) {
|
||
|
super(th, referenceQueue);
|
||
|
if (th == null) {
|
||
|
throw new NullPointerException("The referent cannot be null");
|
||
|
}
|
||
|
this.zza = System.identityHashCode(th);
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (obj == null || obj.getClass() != getClass()) {
|
||
|
return false;
|
||
|
}
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
zzr zzrVar = (zzr) obj;
|
||
|
return this.zza == zzrVar.zza && get() == zzrVar.get();
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
return this.zza;
|
||
|
}
|
||
|
}
|