- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
72 lines
1.8 KiB
Java
72 lines
1.8 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.applovin.impl.gb;
|
|
import com.applovin.impl.hb;
|
|
import java.util.Collection;
|
|
import java.util.Comparator;
|
|
import java.util.Iterator;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class fb extends hb implements fc {
|
|
public static a k() {
|
|
return new a();
|
|
}
|
|
|
|
public static fb l() {
|
|
return r7.g;
|
|
}
|
|
|
|
public static final class a extends hb.b {
|
|
@Override // com.applovin.impl.hb.b
|
|
/* renamed from: b, reason: merged with bridge method [inline-methods] */
|
|
public a a(Object obj, Iterable iterable) {
|
|
super.a(obj, iterable);
|
|
return this;
|
|
}
|
|
|
|
public fb c() {
|
|
return (fb) super.a();
|
|
}
|
|
|
|
public a b(Object obj, Object... objArr) {
|
|
super.a(obj, objArr);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public static fb a(Collection collection, Comparator comparator) {
|
|
eb a2;
|
|
if (collection.isEmpty()) {
|
|
return l();
|
|
}
|
|
gb.a aVar = new gb.a(collection.size());
|
|
Iterator it = collection.iterator();
|
|
int i = 0;
|
|
while (it.hasNext()) {
|
|
Map.Entry entry = (Map.Entry) it.next();
|
|
Object key = entry.getKey();
|
|
Collection collection2 = (Collection) entry.getValue();
|
|
if (comparator == null) {
|
|
a2 = eb.a(collection2);
|
|
} else {
|
|
a2 = eb.a(comparator, (Iterable) collection2);
|
|
}
|
|
if (!a2.isEmpty()) {
|
|
aVar.a(key, a2);
|
|
i += a2.size();
|
|
}
|
|
}
|
|
return new fb(aVar.a(), i);
|
|
}
|
|
|
|
public fb(gb gbVar, int i) {
|
|
super(gbVar, i);
|
|
}
|
|
|
|
public eb b(Object obj) {
|
|
eb ebVar = (eb) this.d.get(obj);
|
|
return ebVar == null ? eb.h() : ebVar;
|
|
}
|
|
}
|