Files
rr3-apk/decompiled/sources/androidx/collection/LruCacheKt$lruCache$4.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

45 lines
1.8 KiB
Java

package androidx.collection;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.functions.Function4;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
/* JADX INFO: Add missing generic type declarations: [V, K] */
@SourceDebugExtension({"SMAP\nLruCache.kt\nKotlin\n*S Kotlin\n*F\n+ 1 LruCache.kt\nandroidx/collection/LruCacheKt$lruCache$4\n*L\n1#1,355:1\n*E\n"})
/* loaded from: classes.dex */
public final class LruCacheKt$lruCache$4<K, V> extends LruCache<K, V> {
final /* synthetic */ Function1 $create;
final /* synthetic */ Function4 $onEntryRemoved;
final /* synthetic */ Function2 $sizeOf;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LruCacheKt$lruCache$4(int i, Function2 function2, Function1 function1, Function4 function4) {
super(i);
this.$sizeOf = function2;
this.$create = function1;
this.$onEntryRemoved = function4;
}
@Override // androidx.collection.LruCache
public int sizeOf(K key, V value) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(value, "value");
return ((Number) this.$sizeOf.invoke(key, value)).intValue();
}
@Override // androidx.collection.LruCache
public V create(K key) {
Intrinsics.checkNotNullParameter(key, "key");
return (V) this.$create.invoke(key);
}
@Override // androidx.collection.LruCache
public void entryRemoved(boolean z, K key, V oldValue, V v) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(oldValue, "oldValue");
this.$onEntryRemoved.invoke(Boolean.valueOf(z), key, oldValue, v);
}
}