discord-jadx/app/src/main/java/com/discord/utilities/collections/ShallowPartitionMap$entries...

28 lines
1.0 KiB
Java

package com.discord.utilities.collections;
import d0.z.d.m;
import d0.z.d.o;
import java.util.Map;
import kotlin.jvm.functions.Function1;
/* compiled from: ShallowPartitionMap.kt */
public final class ShallowPartitionMap$entries$2 extends o implements Function1<Map.Entry<K, V>, Integer> {
public final /* synthetic */ ShallowPartitionMap this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public ShallowPartitionMap$entries$2(ShallowPartitionMap shallowPartitionMap) {
super(1);
this.this$0 = shallowPartitionMap;
}
public final int invoke(Map.Entry<K, V> entry) {
m.checkNotNullParameter(entry, "it");
return ((Number) this.this$0.getPartitionStrategy().invoke(entry.getKey())).intValue();
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Integer invoke(Object obj) {
return Integer.valueOf(invoke((Map.Entry) obj));
}
}