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