55 lines
1.2 KiB
Java
55 lines
1.2 KiB
Java
package o;
|
|
|
|
import java.util.Collections;
|
|
import java.util.Iterator;
|
|
import java.util.Set;
|
|
import java.util.WeakHashMap;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class sXW implements zZV {
|
|
private final Set<Lco> a = Collections.newSetFromMap(new WeakHashMap());
|
|
private boolean c;
|
|
private boolean d;
|
|
|
|
@Override // o.zZV
|
|
public final void e(Lco lco) {
|
|
this.a.add(lco);
|
|
if (this.c) {
|
|
lco.d();
|
|
} else if (this.d) {
|
|
lco.a();
|
|
} else {
|
|
lco.c();
|
|
}
|
|
}
|
|
|
|
@Override // o.zZV
|
|
public final void b(Lco lco) {
|
|
this.a.remove(lco);
|
|
}
|
|
|
|
public final void e() {
|
|
this.d = true;
|
|
Iterator it = FKd.b(this.a).iterator();
|
|
while (it.hasNext()) {
|
|
((Lco) it.next()).a();
|
|
}
|
|
}
|
|
|
|
public final void a() {
|
|
this.d = false;
|
|
Iterator it = FKd.b(this.a).iterator();
|
|
while (it.hasNext()) {
|
|
((Lco) it.next()).c();
|
|
}
|
|
}
|
|
|
|
public final void d() {
|
|
this.c = true;
|
|
Iterator it = FKd.b(this.a).iterator();
|
|
while (it.hasNext()) {
|
|
((Lco) it.next()).d();
|
|
}
|
|
}
|
|
}
|