package com.google.firebase.components; import java.util.HashSet; import java.util.Set; /* compiled from: com.google.firebase:firebase-common@@16.0.2 */ /* loaded from: classes.dex */ final class zzg { private final Component a; private final Set b = new HashSet(); private final Set c = new HashSet(); zzg(Component component) { this.a = component; } final void a(zzg zzgVar) { this.b.add(zzgVar); } final void b(zzg zzgVar) { this.c.add(zzgVar); } final void c(zzg zzgVar) { this.c.remove(zzgVar); } final boolean d() { return this.b.isEmpty(); } final Set a() { return this.b; } final Component b() { return this.a; } final boolean c() { return this.c.isEmpty(); } }