package FSaI4_7.Nm6q_10;

import java.util.Iterator;
/* compiled from: Sequences.kt */
/* loaded from: classes.dex */
public final class IFxWkV_5<T, R> implements FSaI4_7.Nm6q_10.KQgRr5e_0<R> {
    public final FSaI4_7.Nm6q_10.KQgRr5e_0<T> KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final FSaI4_7.Xgtqvk_8.KQgRr5e_0.KQgRr5e_0<T, R> f4KQgRr5e_0;

    /* compiled from: Sequences.kt */
    /* loaded from: classes.dex */
    public static final class KQgRr5e_0 implements Iterator<R> {

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public final Iterator<T> f5KQgRr5e_0;

        public KQgRr5e_0() {
            this.f5KQgRr5e_0 = IFxWkV_5.this.KQgRr5e_0.iterator();
        }

        @Override // java.util.Iterator
        public boolean hasNext() {
            return this.f5KQgRr5e_0.hasNext();
        }

        @Override // java.util.Iterator
        public R next() {
            return (R) IFxWkV_5.this.f4KQgRr5e_0.KQgRr5e_0(this.f5KQgRr5e_0.next());
        }

        @Override // java.util.Iterator
        public void remove() {
            throw new UnsupportedOperationException("Operation is not supported for read-only collection");
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    public IFxWkV_5(FSaI4_7.Nm6q_10.KQgRr5e_0<? extends T> kQgRr5e_0, FSaI4_7.Xgtqvk_8.KQgRr5e_0.KQgRr5e_0<? super T, ? extends R> kQgRr5e_02) {
        FSaI4_7.Xgtqvk_8.QxJ9d_1.IFxWkV_5.QxJ9d_1(kQgRr5e_0, "sequence");
        FSaI4_7.Xgtqvk_8.QxJ9d_1.IFxWkV_5.QxJ9d_1(kQgRr5e_02, "transformer");
        this.KQgRr5e_0 = kQgRr5e_0;
        this.f4KQgRr5e_0 = kQgRr5e_02;
    }

    @Override // FSaI4_7.Nm6q_10.KQgRr5e_0
    public Iterator<R> iterator() {
        return new KQgRr5e_0();
    }
}
