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

39 lines
1.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.util.SparseArray;
import java.util.EnumMap;
/* renamed from: o.Lgu, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0647Lgu {
private static SparseArray<EnumC10854eQq> b = new SparseArray<>();
private static EnumMap<EnumC10854eQq, Integer> e;
static {
EnumMap<EnumC10854eQq, Integer> enumMap = new EnumMap<>((Class<EnumC10854eQq>) EnumC10854eQq.class);
e = enumMap;
enumMap.put((EnumMap<EnumC10854eQq, Integer>) EnumC10854eQq.DEFAULT, (EnumC10854eQq) 0);
e.put((EnumMap<EnumC10854eQq, Integer>) EnumC10854eQq.VERY_LOW, (EnumC10854eQq) 1);
e.put((EnumMap<EnumC10854eQq, Integer>) EnumC10854eQq.HIGHEST, (EnumC10854eQq) 2);
for (K k : e.keySet()) {
b.append(e.get(k).intValue(), k);
}
}
public static EnumC10854eQq a(int i) {
EnumC10854eQq enumC10854eQq = b.get(i);
if (enumC10854eQq != null) {
return enumC10854eQq;
}
throw new IllegalArgumentException("Unknown Priority for value ".concat(String.valueOf(i)));
}
public static int e(EnumC10854eQq enumC10854eQq) {
Integer num = e.get(enumC10854eQq);
if (num == null) {
throw new IllegalStateException("PriorityMapping is missing known Priority value ".concat(String.valueOf(enumC10854eQq)));
}
return num.intValue();
}
}