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

30 lines
835 B
Java

package o;
import java.util.Collections;
import java.util.Map;
/* renamed from: o.gaN, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C14855gaN extends gaO {
public static final int a(int i) {
if (i < 0) {
return i;
}
if (i < 3) {
return i + 1;
}
if (i < 1073741824) {
return (int) ((i / 0.75f) + 1.0f);
}
return Integer.MAX_VALUE;
}
public static final <K, V> Map<K, V> a(Map<? extends K, ? extends V> map) {
C14957gcv.e(map, "");
Map.Entry<? extends K, ? extends V> next = map.entrySet().iterator().next();
Map<K, V> singletonMap = Collections.singletonMap(next.getKey(), next.getValue());
C14957gcv.c(singletonMap, "");
return singletonMap;
}
}