package androidx.lifecycle;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

/* renamed from: androidx.lifecycle.g0 */
/* loaded from: classes.dex */
public class C0421g0 {

    /* renamed from: a */
    public final HashMap<String, AbstractC0405c0> f1628a = new HashMap<>();

    /* renamed from: a */
    public final void m3706a() {
        for (AbstractC0405c0 abstractC0405c0 : this.f1628a.values()) {
            abstractC0405c0.m3723a();
        }
        this.f1628a.clear();
    }

    /* renamed from: b */
    public final AbstractC0405c0 m3705b(String str) {
        return this.f1628a.get(str);
    }

    /* renamed from: c */
    public Set<String> m3704c() {
        return new HashSet(this.f1628a.keySet());
    }

    /* renamed from: d */
    public final void m3703d(String str, AbstractC0405c0 abstractC0405c0) {
        AbstractC0405c0 put = this.f1628a.put(str, abstractC0405c0);
        if (put != null) {
            put.mo697d();
        }
    }
}