package com.google.android.gms.internal.vision; import java.util.Iterator; import java.util.Map; /* loaded from: classes2.dex */ final class zzgl implements Iterator> { private Iterator> zzyg; public zzgl(Iterator> it) { this.zzyg = it; } @Override // java.util.Iterator public final boolean hasNext() { return this.zzyg.hasNext(); } @Override // java.util.Iterator public final void remove() { this.zzyg.remove(); } @Override // java.util.Iterator public final /* synthetic */ Object next() { Map.Entry next = this.zzyg.next(); return next.getValue() instanceof zzgi ? new zzgk(next) : next; } }