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

42 lines
1.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
/* loaded from: classes2.dex */
final class zzkt<T> extends zzko<T> {
private final T zzabi;
/* JADX INFO: Access modifiers changed from: package-private */
public zzkt(T t) {
this.zzabi = t;
}
@Override // com.google.android.gms.internal.firebase_ml.zzko
public final boolean isPresent() {
return true;
}
public final boolean equals(Object obj) {
if (obj instanceof zzkt) {
return this.zzabi.equals(((zzkt) obj).zzabi);
}
return false;
}
public final int hashCode() {
return this.zzabi.hashCode() + 1502476572;
}
public final String toString() {
String valueOf = String.valueOf(this.zzabi);
StringBuilder sb = new StringBuilder(String.valueOf(valueOf).length() + 13);
sb.append("Optional.of(");
sb.append(valueOf);
sb.append(")");
return sb.toString();
}
@Override // com.google.android.gms.internal.firebase_ml.zzko
public final T get() {
return this.zzabi;
}
}