41 lines
1.0 KiB
Java
41 lines
1.0 KiB
Java
package o;
|
|
|
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
|
import java.util.Collections;
|
|
import java.util.HashSet;
|
|
import java.util.Set;
|
|
import java.util.WeakHashMap;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class ySr {
|
|
public boolean d;
|
|
public final Set<PXc> e = Collections.newSetFromMap(new WeakHashMap());
|
|
public final Set<PXc> a = new HashSet();
|
|
|
|
public final boolean d(PXc pXc) {
|
|
boolean z = true;
|
|
if (pXc == null) {
|
|
return true;
|
|
}
|
|
boolean remove = this.e.remove(pXc);
|
|
if (!this.a.remove(pXc) && !remove) {
|
|
z = false;
|
|
}
|
|
if (z) {
|
|
pXc.c();
|
|
}
|
|
return z;
|
|
}
|
|
|
|
public final String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(super.toString());
|
|
sb.append("{numRequests=");
|
|
sb.append(this.e.size());
|
|
sb.append(", isPaused=");
|
|
sb.append(this.d);
|
|
sb.append(UrlTreeKt.componentParamSuffix);
|
|
return sb.toString();
|
|
}
|
|
}
|