Files
rr3-apk/decompiled-community/sources/androidx/collection/LruCacheKt$lruCache$4.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -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);
}
}