66 lines
1.5 KiB
Java
66 lines
1.5 KiB
Java
package c.i.a.c.h2;
|
|
|
|
import androidx.annotation.Nullable;
|
|
import c.i.a.c.i2.f0;
|
|
import java.util.ArrayList;
|
|
import java.util.Map;
|
|
import java.util.Objects;
|
|
/* compiled from: BaseDataSource */
|
|
public abstract class e implements j {
|
|
public final boolean a;
|
|
public final ArrayList<x> b = new ArrayList<>(1);
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public int f881c;
|
|
@Nullable
|
|
public l d;
|
|
|
|
public e(boolean z2) {
|
|
this.a = z2;
|
|
}
|
|
|
|
@Override // c.i.a.c.h2.j
|
|
public final void d(x xVar) {
|
|
Objects.requireNonNull(xVar);
|
|
if (!this.b.contains(xVar)) {
|
|
this.b.add(xVar);
|
|
this.f881c++;
|
|
}
|
|
}
|
|
|
|
@Override // c.i.a.c.h2.j
|
|
public /* synthetic */ Map j() {
|
|
return i.a(this);
|
|
}
|
|
|
|
public final void o(int i) {
|
|
l lVar = this.d;
|
|
int i2 = f0.a;
|
|
for (int i3 = 0; i3 < this.f881c; i3++) {
|
|
this.b.get(i3).e(this, lVar, this.a, i);
|
|
}
|
|
}
|
|
|
|
public final void p() {
|
|
l lVar = this.d;
|
|
int i = f0.a;
|
|
for (int i2 = 0; i2 < this.f881c; i2++) {
|
|
this.b.get(i2).a(this, lVar, this.a);
|
|
}
|
|
this.d = null;
|
|
}
|
|
|
|
public final void q(l lVar) {
|
|
for (int i = 0; i < this.f881c; i++) {
|
|
this.b.get(i).g(this, lVar, this.a);
|
|
}
|
|
}
|
|
|
|
public final void r(l lVar) {
|
|
this.d = lVar;
|
|
for (int i = 0; i < this.f881c; i++) {
|
|
this.b.get(i).b(this, lVar, this.a);
|
|
}
|
|
}
|
|
}
|