2021-12-21 23:37:30 +00:00
|
|
|
package b.f.j.c;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
|
|
|
import androidx.annotation.VisibleForTesting;
|
|
|
|
import com.facebook.common.references.CloseableReference;
|
|
|
|
import java.util.Objects;
|
2022-03-02 20:59:20 +00:00
|
|
|
/* compiled from: CountingMemoryCache.java */
|
2022-04-12 20:58:48 +00:00
|
|
|
/* loaded from: classes2.dex */
|
2021-12-21 23:37:30 +00:00
|
|
|
public interface m<K, V> extends w<K, V>, b.f.d.g.b {
|
2021-06-27 20:44:35 +00:00
|
|
|
|
2022-03-02 20:59:20 +00:00
|
|
|
/* compiled from: CountingMemoryCache.java */
|
2021-06-27 20:44:35 +00:00
|
|
|
@VisibleForTesting
|
2022-04-12 20:58:48 +00:00
|
|
|
/* loaded from: classes2.dex */
|
2021-06-27 20:44:35 +00:00
|
|
|
public static class a<K, V> {
|
|
|
|
public final K a;
|
|
|
|
|
2021-12-21 23:37:30 +00:00
|
|
|
/* renamed from: b reason: collision with root package name */
|
2022-04-04 20:51:55 +00:00
|
|
|
public final CloseableReference<V> f557b;
|
2021-12-21 23:37:30 +00:00
|
|
|
public int c = 0;
|
2021-06-27 20:44:35 +00:00
|
|
|
public boolean d = false;
|
|
|
|
public final b<K> e;
|
2022-01-27 00:50:41 +00:00
|
|
|
public int f;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
2022-01-27 00:50:41 +00:00
|
|
|
public a(K k, CloseableReference<V> closeableReference, b<K> bVar, int i) {
|
2021-06-27 20:44:35 +00:00
|
|
|
Objects.requireNonNull(k);
|
|
|
|
this.a = k;
|
2021-11-08 18:25:28 +00:00
|
|
|
CloseableReference<V> n = CloseableReference.n(closeableReference);
|
|
|
|
Objects.requireNonNull(n);
|
2022-04-04 20:51:55 +00:00
|
|
|
this.f557b = n;
|
2021-06-27 20:44:35 +00:00
|
|
|
this.e = bVar;
|
2022-01-27 00:50:41 +00:00
|
|
|
this.f = i;
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-02 20:59:20 +00:00
|
|
|
/* compiled from: CountingMemoryCache.java */
|
2022-04-12 20:58:48 +00:00
|
|
|
/* loaded from: classes2.dex */
|
2021-06-27 20:44:35 +00:00
|
|
|
public interface b<K> {
|
|
|
|
}
|
|
|
|
|
|
|
|
CloseableReference<V> b(K k);
|
|
|
|
|
|
|
|
CloseableReference<V> c(K k, CloseableReference<V> closeableReference, b<K> bVar);
|
|
|
|
}
|