what-the-bank/sources/com/google/android/gms/internal/vision/zzcw.java

33 lines
883 B
Java

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