- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
89 lines
2.8 KiB
Java
89 lines
2.8 KiB
Java
package com.ironsource.mediationsdk.demandOnly;
|
|
|
|
import com.ironsource.f5;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt___CollectionsKt;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public interface a {
|
|
|
|
@SourceDebugExtension({"SMAP\nDemandOnlyAuctionWaterfall.kt\nKotlin\n*S Kotlin\n*F\n+ 1 DemandOnlyAuctionWaterfall.kt\ncom/ironsource/mediationsdk/demandOnly/DemandOnlyAuctionWaterfall$Base\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,40:1\n1#2:41\n*E\n"})
|
|
/* renamed from: com.ironsource.mediationsdk.demandOnly.a$a, reason: collision with other inner class name */
|
|
public static final class C0173a implements a {
|
|
private final List<f5> a;
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public C0173a() {
|
|
this(null, 1, 0 == true ? 1 : 0);
|
|
}
|
|
|
|
public C0173a(List<f5> waterfall) {
|
|
Intrinsics.checkNotNullParameter(waterfall, "waterfall");
|
|
this.a = waterfall;
|
|
}
|
|
|
|
public /* synthetic */ C0173a(List list, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? new ArrayList() : list);
|
|
}
|
|
|
|
@Override // com.ironsource.mediationsdk.demandOnly.a
|
|
public f5 a(String instanceName) {
|
|
Object obj;
|
|
Intrinsics.checkNotNullParameter(instanceName, "instanceName");
|
|
Iterator<T> it = this.a.iterator();
|
|
while (true) {
|
|
if (!it.hasNext()) {
|
|
obj = null;
|
|
break;
|
|
}
|
|
obj = it.next();
|
|
if (Intrinsics.areEqual(((f5) obj).c(), instanceName)) {
|
|
break;
|
|
}
|
|
}
|
|
return (f5) obj;
|
|
}
|
|
|
|
@Override // com.ironsource.mediationsdk.demandOnly.a
|
|
public List<f5> a() {
|
|
return this.a;
|
|
}
|
|
|
|
@Override // com.ironsource.mediationsdk.demandOnly.a
|
|
public String b() {
|
|
if (this.a.isEmpty()) {
|
|
return "";
|
|
}
|
|
return '1' + ((f5) CollectionsKt___CollectionsKt.first((List) this.a)).c();
|
|
}
|
|
|
|
@Override // com.ironsource.mediationsdk.demandOnly.a
|
|
public f5 get(int i) {
|
|
if (i < 0 || i >= this.a.size()) {
|
|
return null;
|
|
}
|
|
return this.a.get(i);
|
|
}
|
|
|
|
@Override // com.ironsource.mediationsdk.demandOnly.a
|
|
public boolean isEmpty() {
|
|
return this.a.isEmpty();
|
|
}
|
|
}
|
|
|
|
f5 a(String str);
|
|
|
|
List<f5> a();
|
|
|
|
String b();
|
|
|
|
f5 get(int i);
|
|
|
|
boolean isEmpty();
|
|
}
|