package p054r1;

import java.util.Iterator;
import p039m1.C1470g;

/* renamed from: r1.e */
/* loaded from: classes.dex */
public class C1599e extends C1598d {

    /* JADX INFO: Add missing generic type declarations: [T] */
    /* renamed from: r1.e$a */
    /* loaded from: classes.dex */
    public static final class C1600a<T> implements InterfaceC1596b<T> {

        /* renamed from: a */
        public final /* synthetic */ Iterator f3732a;

        public C1600a(Iterator it) {
            this.f3732a = it;
        }

        @Override // p054r1.InterfaceC1596b
        public Iterator<T> iterator() {
            return this.f3732a;
        }
    }

    /* renamed from: a */
    public static final <T> InterfaceC1596b<T> m808a(Iterator<? extends T> it) {
        C1470g.m1292e(it, "<this>");
        return m807b(new C1600a(it));
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* renamed from: b */
    public static final <T> InterfaceC1596b<T> m807b(InterfaceC1596b<? extends T> interfaceC1596b) {
        C1470g.m1292e(interfaceC1596b, "<this>");
        return interfaceC1596b instanceof C1595a ? interfaceC1596b : new C1595a(interfaceC1596b);
    }
}