34 lines
1.2 KiB
Java
34 lines
1.2 KiB
Java
|
package com.google.android.gms.internal.gtm;
|
||
|
|
||
|
import com.google.android.gms.common.internal.Preconditions;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Iterator;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class zzhc extends zzhb {
|
||
|
@Override // com.google.android.gms.internal.gtm.zzhb
|
||
|
protected final zzoa<?> zza(zzfl zzflVar, zzoa<?>... zzoaVarArr) {
|
||
|
Preconditions.checkNotNull(zzoaVarArr);
|
||
|
Preconditions.checkArgument(zzoaVarArr.length > 0);
|
||
|
Preconditions.checkArgument(zzoaVarArr[0] instanceof zzoh);
|
||
|
zzoh zzohVar = (zzoh) zzoaVarArr[0];
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
Iterator<zzoa<?>> it = zzohVar.value().iterator();
|
||
|
while (it.hasNext()) {
|
||
|
arrayList.add(it.next());
|
||
|
}
|
||
|
for (int i = 1; i < zzoaVarArr.length; i++) {
|
||
|
zzoa<?> zzoaVar = zzoaVarArr[i];
|
||
|
if (zzoaVar instanceof zzoh) {
|
||
|
Iterator<zzoa<?>> it2 = ((zzoh) zzoaVar).value().iterator();
|
||
|
while (it2.hasNext()) {
|
||
|
arrayList.add(it2.next());
|
||
|
}
|
||
|
} else {
|
||
|
arrayList.add(zzoaVar);
|
||
|
}
|
||
|
}
|
||
|
return new zzoh(arrayList);
|
||
|
}
|
||
|
}
|