Files
rr3-apk/decompiled/sources/androidx/collection/LruCacheKt.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

58 lines
2.7 KiB
Java

package androidx.collection;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.functions.Function4;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class LruCacheKt {
public static /* synthetic */ LruCache lruCache$default(int i, Function2 sizeOf, Function1 create, Function4 onEntryRemoved, int i2, Object obj) {
if ((i2 & 2) != 0) {
sizeOf = new Function2() { // from class: androidx.collection.LruCacheKt$lruCache$1
@Override // kotlin.jvm.functions.Function2
public final Integer invoke(Object obj2, Object obj3) {
Intrinsics.checkNotNullParameter(obj2, "<anonymous parameter 0>");
Intrinsics.checkNotNullParameter(obj3, "<anonymous parameter 1>");
return 1;
}
};
}
if ((i2 & 4) != 0) {
create = new Function1() { // from class: androidx.collection.LruCacheKt$lruCache$2
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object it) {
Intrinsics.checkNotNullParameter(it, "it");
return null;
}
};
}
if ((i2 & 8) != 0) {
onEntryRemoved = new Function4() { // from class: androidx.collection.LruCacheKt$lruCache$3
public final void invoke(boolean z, Object obj2, Object obj3, Object obj4) {
Intrinsics.checkNotNullParameter(obj2, "<anonymous parameter 1>");
Intrinsics.checkNotNullParameter(obj3, "<anonymous parameter 2>");
}
@Override // kotlin.jvm.functions.Function4
public /* bridge */ /* synthetic */ Object invoke(Object obj2, Object obj3, Object obj4, Object obj5) {
invoke(((Boolean) obj2).booleanValue(), obj3, obj4, obj5);
return Unit.INSTANCE;
}
};
}
Intrinsics.checkNotNullParameter(sizeOf, "sizeOf");
Intrinsics.checkNotNullParameter(create, "create");
Intrinsics.checkNotNullParameter(onEntryRemoved, "onEntryRemoved");
return new LruCacheKt$lruCache$4(i, sizeOf, create, onEntryRemoved);
}
public static final <K, V> LruCache<K, V> lruCache(int i, Function2 sizeOf, Function1 create, Function4 onEntryRemoved) {
Intrinsics.checkNotNullParameter(sizeOf, "sizeOf");
Intrinsics.checkNotNullParameter(create, "create");
Intrinsics.checkNotNullParameter(onEntryRemoved, "onEntryRemoved");
return new LruCacheKt$lruCache$4(i, sizeOf, create, onEntryRemoved);
}
}