37 lines
1.1 KiB
Java
37 lines
1.1 KiB
Java
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);
|
|
}
|
|
}
|