- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
120 lines
3.3 KiB
Java
120 lines
3.3 KiB
Java
package com.ironsource;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.Comparator;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt__CollectionsKt;
|
|
import kotlin.collections.CollectionsKt___CollectionsKt;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.ranges.RangesKt___RangesKt;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface ob<T> {
|
|
|
|
public static final class a<T> implements ob<T> {
|
|
private final ArrayList<T> a;
|
|
private final ArrayList<T> b;
|
|
|
|
public a(ArrayList<T> a, ArrayList<T> b) {
|
|
Intrinsics.checkNotNullParameter(a, "a");
|
|
Intrinsics.checkNotNullParameter(b, "b");
|
|
this.a = a;
|
|
this.b = b;
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public boolean contains(T t) {
|
|
return this.a.contains(t) || this.b.contains(t);
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public int size() {
|
|
return this.a.size() + this.b.size();
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public List<T> value() {
|
|
return CollectionsKt___CollectionsKt.plus((Collection) this.a, (Iterable) this.b);
|
|
}
|
|
}
|
|
|
|
public static final class b<T> implements ob<T> {
|
|
private final ob<T> a;
|
|
private final Comparator<T> b;
|
|
|
|
public b(ob<T> collection, Comparator<T> comparator) {
|
|
Intrinsics.checkNotNullParameter(collection, "collection");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
this.a = collection;
|
|
this.b = comparator;
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public boolean contains(T t) {
|
|
return this.a.contains(t);
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public int size() {
|
|
return this.a.size();
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public List<T> value() {
|
|
List<T> sortedWith;
|
|
sortedWith = CollectionsKt___CollectionsKt.sortedWith(this.a.value(), this.b);
|
|
return sortedWith;
|
|
}
|
|
}
|
|
|
|
public static final class c<T> implements ob<T> {
|
|
private final int a;
|
|
private final List<T> b;
|
|
|
|
public c(ob<T> collection, int i) {
|
|
Intrinsics.checkNotNullParameter(collection, "collection");
|
|
this.a = i;
|
|
this.b = collection.value();
|
|
}
|
|
|
|
public final List<T> a() {
|
|
int size = this.b.size();
|
|
int i = this.a;
|
|
if (size <= i) {
|
|
return CollectionsKt__CollectionsKt.emptyList();
|
|
}
|
|
List<T> list = this.b;
|
|
return list.subList(i, list.size());
|
|
}
|
|
|
|
public final List<T> b() {
|
|
int coerceAtMost;
|
|
List<T> list = this.b;
|
|
coerceAtMost = RangesKt___RangesKt.coerceAtMost(list.size(), this.a);
|
|
return list.subList(0, coerceAtMost);
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public boolean contains(T t) {
|
|
return this.b.contains(t);
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public int size() {
|
|
return this.b.size();
|
|
}
|
|
|
|
@Override // com.ironsource.ob
|
|
public List<T> value() {
|
|
return this.b;
|
|
}
|
|
}
|
|
|
|
boolean contains(T t);
|
|
|
|
int size();
|
|
|
|
List<T> value();
|
|
}
|