discord-jadx/app/src/main/java/d0/g0/v.java

36 lines
1.5 KiB
Java

package d0.g0;
import d0.z.d.m;
import d0.z.d.o;
import java.util.List;
import kotlin.Pair;
import kotlin.jvm.functions.Function2;
/* compiled from: Strings.kt */
public final class v extends o implements Function2<CharSequence, Integer, Pair<? extends Integer, ? extends Integer>> {
public final /* synthetic */ List $delimitersList;
public final /* synthetic */ boolean $ignoreCase;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public v(List list, boolean z2) {
super(2);
this.$delimitersList = list;
this.$ignoreCase = z2;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
@Override // kotlin.jvm.functions.Function2
public /* bridge */ /* synthetic */ Pair<? extends Integer, ? extends Integer> invoke(CharSequence charSequence, Integer num) {
return invoke(charSequence, num.intValue());
}
public final Pair<Integer, Integer> invoke(CharSequence charSequence, int i) {
m.checkNotNullParameter(charSequence, "$receiver");
Pair access$findAnyOf = w.access$findAnyOf(charSequence, this.$delimitersList, i, this.$ignoreCase, false);
if (access$findAnyOf != null) {
return d0.o.to(access$findAnyOf.getFirst(), Integer.valueOf(((String) access$findAnyOf.getSecond()).length()));
}
return null;
}
}