package androidx.lifecycle; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Set; /* loaded from: classes.dex */ public class w { /* renamed from: a, reason: collision with root package name */ private final HashMap f2133a = new HashMap(); public final void a() { Iterator it = this.f2133a.values().iterator(); while (it.hasNext()) { ((u) it.next()).a(); } this.f2133a.clear(); } final u b(String str) { return (u) this.f2133a.get(str); } Set c() { return new HashSet(this.f2133a.keySet()); } final void d(String str, u uVar) { u uVar2 = (u) this.f2133a.put(str, uVar); if (uVar2 != null) { uVar2.d(); } } }