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

37 lines
1.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
/* renamed from: o.uge, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
final class C17191uge {
private final Map<Integer, Integer> b = new HashMap();
/* JADX INFO: Access modifiers changed from: package-private */
public final void a(int i) {
Integer num = this.b.get(Integer.valueOf(i));
if (num == null) {
num = 0;
}
this.b.put(Integer.valueOf(i), Integer.valueOf(num.intValue() + 1));
}
/* JADX INFO: Access modifiers changed from: package-private */
public final int[] c() {
ArrayList arrayList = new ArrayList();
int i = -1;
for (Map.Entry<Integer, Integer> entry : this.b.entrySet()) {
if (entry.getValue().intValue() > i) {
i = entry.getValue().intValue();
arrayList.clear();
arrayList.add(entry.getKey());
} else if (entry.getValue().intValue() == i) {
arrayList.add(entry.getKey());
}
}
return ULn.b(arrayList);
}
}