package androidx.core.util;

/* JADX INFO: compiled from: Pools.java */
/* JADX INFO: loaded from: classes.dex */
public class g<T> extends f<T> {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private final Object f1835c;

    public g(int i3) {
        super(i3);
        this.f1835c = new Object();
    }

    @Override // androidx.core.util.f, androidx.core.util.e
    public boolean a(T t2) {
        boolean zA;
        synchronized (this.f1835c) {
            zA = super.a(t2);
        }
        return zA;
    }

    @Override // androidx.core.util.f, androidx.core.util.e
    public T b() {
        T t2;
        synchronized (this.f1835c) {
            t2 = (T) super.b();
        }
        return t2;
    }
}
