package C3;

import java.util.NoSuchElementException;

/* JADX INFO: loaded from: classes.dex */
public final class M extends k0 {

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final Object f1210q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public boolean f1211r;

    public M(Object obj) {
        this.f1210q = obj;
    }

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

    @Override // java.util.Iterator
    public final Object next() {
        if (this.f1211r) {
            throw new NoSuchElementException();
        }
        this.f1211r = true;
        return this.f1210q;
    }
}
