34 lines
964 B
Java
34 lines
964 B
Java
package c.i.e.r.d;
|
|
|
|
import c.i.e.r.a;
|
|
import java.util.ArrayList;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
/* compiled from: BarcodeValue */
|
|
public final class b {
|
|
public final Map<Integer, Integer> a = new HashMap();
|
|
|
|
public int[] a() {
|
|
ArrayList arrayList = new ArrayList();
|
|
int i = -1;
|
|
for (Map.Entry<Integer, Integer> entry : this.a.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 a.b(arrayList);
|
|
}
|
|
|
|
public void b(int i) {
|
|
Integer num = this.a.get(Integer.valueOf(i));
|
|
if (num == null) {
|
|
num = 0;
|
|
}
|
|
this.a.put(Integer.valueOf(i), Integer.valueOf(num.intValue() + 1));
|
|
}
|
|
}
|