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

53 lines
1.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.android.gms.common.internal.Objects;
/* loaded from: classes2.dex */
public final class zznt<T> {
private final String zzapl;
private final T zzapm;
public static <T> zznt<T> zzj(String str, T t) {
return new zznt<>(str, t);
}
private zznt(String str, T t) {
if (str == null) {
throw new NullPointerException("Null firebasePersistentKey");
}
this.zzapl = str;
if (t == null) {
throw new NullPointerException("Null options");
}
this.zzapm = t;
}
public final String toString() {
String str = this.zzapl;
String valueOf = String.valueOf(this.zzapm);
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 58 + String.valueOf(valueOf).length());
sb.append("MlModelDriverInstanceKey{firebasePersistentKey=");
sb.append(str);
sb.append(", options=");
sb.append(valueOf);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof zznt)) {
return false;
}
zznt zzntVar = (zznt) obj;
return this.zzapl.equals(zzntVar.zzapl) && this.zzapm.equals(zzntVar.zzapm);
}
public final int hashCode() {
return Objects.hashCode(this.zzapl, this.zzapm);
}
}