what-the-bank/sources/com/google/android/gms/internal/measurement/zzaf.java

62 lines
1.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.measurement;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes.dex */
public final class zzaf implements zzap {
private final boolean zza;
public zzaf(Boolean bool) {
this.zza = bool == null ? false : bool.booleanValue();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof zzaf) && this.zza == ((zzaf) obj).zza;
}
public final int hashCode() {
return Boolean.valueOf(this.zza).hashCode();
}
public final String toString() {
return String.valueOf(this.zza);
}
@Override // com.google.android.gms.internal.measurement.zzap
public final zzap zzbK(String str, zzg zzgVar, List<zzap> list) {
if ("toString".equals(str)) {
return new zzat(Boolean.toString(this.zza));
}
throw new IllegalArgumentException(String.format("%s.%s is not a function.", Boolean.toString(this.zza), str));
}
@Override // com.google.android.gms.internal.measurement.zzap
public final zzap zzd() {
return new zzaf(Boolean.valueOf(this.zza));
}
@Override // com.google.android.gms.internal.measurement.zzap
public final Boolean zzg() {
return Boolean.valueOf(this.zza);
}
@Override // com.google.android.gms.internal.measurement.zzap
public final Double zzh() {
return Double.valueOf(true != this.zza ? 0.0d : 1.0d);
}
@Override // com.google.android.gms.internal.measurement.zzap
public final String zzi() {
return Boolean.toString(this.zza);
}
@Override // com.google.android.gms.internal.measurement.zzap
public final Iterator<zzap> zzl() {
return null;
}
}