You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
package p009c1;
|
|
|
|
import java.util.Collections;
|
|
import java.util.Map;
|
|
import p006b1.C0475e;
|
|
import p039m1.C1470g;
|
|
|
|
/* renamed from: c1.v */
|
|
/* loaded from: classes.dex */
|
|
public class C0517v extends C0516u {
|
|
/* renamed from: a */
|
|
public static final int m3581a(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;
|
|
}
|
|
|
|
/* renamed from: b */
|
|
public static final <K, V> Map<K, V> m3580b(C0475e<? extends K, ? extends V> c0475e) {
|
|
C1470g.m1292e(c0475e, "pair");
|
|
Map<K, V> singletonMap = Collections.singletonMap(c0475e.m3628c(), c0475e.m3627d());
|
|
C1470g.m1293d(singletonMap, "singletonMap(pair.first, pair.second)");
|
|
return singletonMap;
|
|
}
|
|
|
|
/* renamed from: c */
|
|
public static final <K, V> Map<K, V> m3579c(Map<? extends K, ? extends V> map) {
|
|
C1470g.m1292e(map, "<this>");
|
|
Map.Entry<? extends K, ? extends V> next = map.entrySet().iterator().next();
|
|
Map<K, V> singletonMap = Collections.singletonMap(next.getKey(), next.getValue());
|
|
C1470g.m1293d(singletonMap, "with(entries.iterator().\u2026ingletonMap(key, value) }");
|
|
return singletonMap;
|
|
}
|
|
} |