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

33 lines
903 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
/* loaded from: classes2.dex */
final class zzma extends WeakReference<Throwable> {
private final int zzadu;
public zzma(Throwable th, ReferenceQueue<Throwable> referenceQueue) {
super(th, referenceQueue);
if (th == null) {
throw new NullPointerException("The referent cannot be null");
}
this.zzadu = System.identityHashCode(th);
}
public final boolean equals(Object obj) {
if (obj == null || obj.getClass() != getClass()) {
return false;
}
if (this == obj) {
return true;
}
zzma zzmaVar = (zzma) obj;
return this.zzadu == zzmaVar.zzadu && get() == zzmaVar.get();
}
public final int hashCode() {
return this.zzadu;
}
}