package o;

import java.util.ArrayList;
import java.util.Iterator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Rn0 implements InterfaceC1991no0 {
    public final boolean l;

    public Rn0(Boolean bool) {
        this.l = bool == null ? false : bool.booleanValue();
    }

    @Override // o.InterfaceC1991no0
    public final Iterator a() {
        return null;
    }

    @Override // o.InterfaceC1991no0
    public final InterfaceC1991no0 b(String str, C2062oc0 c2062oc0, ArrayList arrayList) {
        boolean zEquals = "toString".equals(str);
        boolean z = this.l;
        if (zEquals) {
            return new C2560to0(Boolean.toString(z));
        }
        throw new IllegalArgumentException(Boolean.toString(z) + "." + str + " is not a function.");
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof Rn0) && this.l == ((Rn0) obj).l;
    }

    @Override // o.InterfaceC1991no0
    public final InterfaceC1991no0 h() {
        return new Rn0(Boolean.valueOf(this.l));
    }

    public final int hashCode() {
        return Boolean.valueOf(this.l).hashCode();
    }

    public final String toString() {
        return String.valueOf(this.l);
    }

    @Override // o.InterfaceC1991no0
    public final String zzc() {
        return Boolean.toString(this.l);
    }

    @Override // o.InterfaceC1991no0
    public final Double zzd() {
        return Double.valueOf(true != this.l ? 0.0d : 1.0d);
    }

    @Override // o.InterfaceC1991no0
    public final Boolean zze() {
        return Boolean.valueOf(this.l);
    }
}
