package o; import java.util.Iterator; /* loaded from: classes.dex */ public final class paq implements Iterator { private Iterator a; private final Iterable e; public paq(Iterable iterable) { this.e = iterable; } @Override // java.util.Iterator public final boolean hasNext() { if (this.a == null) { this.a = this.e.iterator(); } return this.a.hasNext(); } @Override // java.util.Iterator public final T next() { if (this.a == null) { this.a = this.e.iterator(); } return this.a.next(); } @Override // java.util.Iterator public final void remove() { if (this.a == null) { this.a = this.e.iterator(); } this.a.remove(); } }