- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
63 lines
1.9 KiB
Java
63 lines
1.9 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import com.google.android.gms.internal.ads.zzgax;
|
|
import java.util.Collections;
|
|
import java.util.Objects;
|
|
import java.util.Set;
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
|
|
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
|
|
import java.util.logging.Level;
|
|
|
|
/* loaded from: classes3.dex */
|
|
abstract class zzgbm extends zzgax.zzi {
|
|
private static final zzgbi zzbe;
|
|
private static final zzgcq zzbf = new zzgcq(zzgbm.class);
|
|
private volatile int remaining;
|
|
private volatile Set<Throwable> seenExceptions = null;
|
|
|
|
static {
|
|
zzgbi zzgbkVar;
|
|
Throwable th;
|
|
zzgbl zzgblVar = null;
|
|
try {
|
|
zzgbkVar = new zzgbj(AtomicReferenceFieldUpdater.newUpdater(zzgbm.class, Set.class, "seenExceptions"), AtomicIntegerFieldUpdater.newUpdater(zzgbm.class, "remaining"));
|
|
th = null;
|
|
} catch (Throwable th2) {
|
|
zzgbkVar = new zzgbk(zzgblVar);
|
|
th = th2;
|
|
}
|
|
zzbe = zzgbkVar;
|
|
if (th != null) {
|
|
zzbf.zza().logp(Level.SEVERE, "com.google.common.util.concurrent.AggregateFutureState", "<clinit>", "SafeAtomicHelper is broken!", th);
|
|
}
|
|
}
|
|
|
|
public zzgbm(int i) {
|
|
this.remaining = i;
|
|
}
|
|
|
|
public final int zzA() {
|
|
return zzbe.zza(this);
|
|
}
|
|
|
|
public final Set zzC() {
|
|
Set<Throwable> set = this.seenExceptions;
|
|
if (set != null) {
|
|
return set;
|
|
}
|
|
Set newSetFromMap = Collections.newSetFromMap(new ConcurrentHashMap());
|
|
zze(newSetFromMap);
|
|
zzbe.zzb(this, null, newSetFromMap);
|
|
Set<Throwable> set2 = this.seenExceptions;
|
|
Objects.requireNonNull(set2);
|
|
return set2;
|
|
}
|
|
|
|
public final void zzF() {
|
|
this.seenExceptions = null;
|
|
}
|
|
|
|
public abstract void zze(Set set);
|
|
}
|