what-the-bank/sources/o/C1281ZnX.java

37 lines
955 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import java.util.Iterator;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArraySet;
/* renamed from: o.ZnX, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1281ZnX {
public volatile Context a;
private final Set<InterfaceC17278vUG> c = new CopyOnWriteArraySet();
public final void b(InterfaceC17278vUG interfaceC17278vUG) {
if (this.a != null) {
interfaceC17278vUG.a(this.a);
}
this.c.add(interfaceC17278vUG);
}
public final void e(InterfaceC17278vUG interfaceC17278vUG) {
this.c.remove(interfaceC17278vUG);
}
public final void c(Context context) {
this.a = context;
Iterator<InterfaceC17278vUG> it = this.c.iterator();
while (it.hasNext()) {
it.next().a(context);
}
}
public final Context b() {
return this.a;
}
}