package p402.p411.p413;

import java.util.Iterator;
import java.util.NoSuchElementException;
import p402.p411.p413.p414.InterfaceC6650;

/* JADX INFO: renamed from: ގ.ގ.ހ.֏, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C6626<T> implements Iterator<T>, InterfaceC6650 {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public int f19382;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final T[] f19383;

    public C6626(T[] tArr) {
        if (tArr != null) {
            this.f19383 = tArr;
        } else {
            C6635.m9824("array");
            throw null;
        }
    }

    @Override // java.util.Iterator
    public boolean hasNext() {
        return this.f19382 < this.f19383.length;
    }

    @Override // java.util.Iterator
    public T next() {
        try {
            T[] tArr = this.f19383;
            int i = this.f19382;
            this.f19382 = i + 1;
            return tArr[i];
        } catch (ArrayIndexOutOfBoundsException e) {
            this.f19382--;
            throw new NoSuchElementException(e.getMessage());
        }
    }

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