33 lines
1 KiB
Java
33 lines
1 KiB
Java
package com.discord.stores;
|
|
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.Map;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function2;
|
|
/* compiled from: StoreEmoji.kt */
|
|
public final class StoreEmoji$buildUsableEmojiSet$4 extends o implements Function2<Map<T, Integer>, T, Unit> {
|
|
public static final StoreEmoji$buildUsableEmojiSet$4 INSTANCE = new StoreEmoji$buildUsableEmojiSet$4();
|
|
|
|
public StoreEmoji$buildUsableEmojiSet$4() {
|
|
super(2);
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
@Override // kotlin.jvm.functions.Function2
|
|
public /* bridge */ /* synthetic */ Unit invoke(Object obj, Object obj2) {
|
|
invoke((Map<Map, Integer>) ((Map) obj), (Map) obj2);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final <T> void invoke(Map<T, Integer> map, T t) {
|
|
m.checkNotNullParameter(map, "$this$increment");
|
|
Integer num = map.get(t);
|
|
int i = 1;
|
|
if (num != null) {
|
|
i = 1 + num.intValue();
|
|
}
|
|
map.put(t, Integer.valueOf(i));
|
|
}
|
|
}
|