Rabbit-R1/original r1/java/sources/kotlin/comparisons/ComparisonsKt__ComparisonsKt$compareByDescending$1.java
2024-05-21 17:08:36 -04:00

25 lines
1.4 KiB
Java

package kotlin.comparisons;
import androidx.exifinterface.media.ExifInterface;
import androidx.media3.exoplayer.upstream.CmcdHeadersFactory;
import java.util.Comparator;
import kotlin.Metadata;
import kotlin.jvm.functions.Function1;
/* compiled from: Comparisons.kt */
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\b\n\u0002\b\u0006\u0010\u0000\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u00022\u000e\u0010\u0003\u001a\n \u0004*\u0004\u0018\u0001H\u0002H\u00022\u000e\u0010\u0005\u001a\n \u0004*\u0004\u0018\u0001H\u0002H\u0002H\\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"<anonymous>", "", ExifInterface.GPS_DIRECTION_TRUE, CmcdHeadersFactory.OBJECT_TYPE_AUDIO_ONLY, "kotlin.jvm.PlatformType", "b", "compare", "(Ljava/lang/Object;Ljava/lang/Object;)I"}, k = 3, mv = {1, 9, 0}, xi = 176)
/* loaded from: classes3.dex */
public final class ComparisonsKt__ComparisonsKt$compareByDescending$1<T> implements Comparator {
final /* synthetic */ Function1<T, Comparable<?>> $selector;
/* JADX WARN: Multi-variable type inference failed */
public ComparisonsKt__ComparisonsKt$compareByDescending$1(Function1<? super T, ? extends Comparable<?>> function1) {
this.$selector = function1;
}
@Override // java.util.Comparator
public final int compare(T t, T t2) {
Function1<T, Comparable<?>> function1 = this.$selector;
return ComparisonsKt.compareValues(function1.invoke(t2), function1.invoke(t));
}
}