package z5;

import android.net.Uri;
import java.util.HashSet;
import java.util.Set;

/* loaded from: classes.dex */
public final class c {

    /* renamed from: a, reason: collision with root package name */
    private final Set f53241a = new HashSet();

    /* loaded from: classes.dex */
    public static final class a {

        /* renamed from: a, reason: collision with root package name */
        private final Uri f53242a;

        /* renamed from: b, reason: collision with root package name */
        private final boolean f53243b;

        a(Uri uri, boolean z10) {
            this.f53242a = uri;
            this.f53243b = z10;
        }

        public Uri a() {
            return this.f53242a;
        }

        public boolean b() {
            return this.f53243b;
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null || a.class != obj.getClass()) {
                return false;
            }
            a aVar = (a) obj;
            return this.f53243b == aVar.f53243b && this.f53242a.equals(aVar.f53242a);
        }

        public int hashCode() {
            return (this.f53242a.hashCode() * 31) + (this.f53243b ? 1 : 0);
        }
    }

    public void a(Uri uri, boolean z10) {
        this.f53241a.add(new a(uri, z10));
    }

    public Set b() {
        return this.f53241a;
    }

    public int c() {
        return this.f53241a.size();
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || c.class != obj.getClass()) {
            return false;
        }
        return this.f53241a.equals(((c) obj).f53241a);
    }

    public int hashCode() {
        return this.f53241a.hashCode();
    }
}
