2021-11-02 06:38:17 +00:00
|
|
|
package d0.f0;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import java.util.Iterator;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
import kotlin.sequences.Sequence;
|
|
|
|
/* compiled from: Sequences.kt */
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public final class c<T, K> implements Sequence<T> {
|
|
|
|
public final Sequence<T> a;
|
2021-12-17 21:59:34 +00:00
|
|
|
|
|
|
|
/* renamed from: b reason: collision with root package name */
|
2022-03-28 08:10:50 +00:00
|
|
|
public final Function1<T, K> f3562b;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
|
|
public c(Sequence<? extends T> sequence, Function1<? super T, ? extends K> function1) {
|
|
|
|
m.checkNotNullParameter(sequence, "source");
|
|
|
|
m.checkNotNullParameter(function1, "keySelector");
|
|
|
|
this.a = sequence;
|
2022-03-28 08:10:50 +00:00
|
|
|
this.f3562b = function1;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // kotlin.sequences.Sequence
|
|
|
|
public Iterator<T> iterator() {
|
2022-03-28 08:10:50 +00:00
|
|
|
return new b(this.a.iterator(), this.f3562b);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|