mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
33 lines
2.1 KiB
Java
33 lines
2.1 KiB
Java
package kotlin.comparisons;
|
|
|
|
import androidx.media3.exoplayer.upstream.CmcdHeadersFactory;
|
|
import java.util.Comparator;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: Comparisons.kt */
|
|
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\bÂ\u0002\u0018\u00002\u001e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00030\u00020\u0001j\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00030\u0002`\u0004B\u0007\b\u0002¢\u0006\u0002\u0010\u0005J$\u0010\u0006\u001a\u00020\u00072\f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00030\u00022\f\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u00030\u0002H\u0016J\"\u0010\n\u001a\u001e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00030\u00020\u0001j\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00030\u0002`\u0004¨\u0006\u000b"}, d2 = {"Lkotlin/comparisons/NaturalOrderComparator;", "Ljava/util/Comparator;", "", "", "Lkotlin/Comparator;", "()V", "compare", "", CmcdHeadersFactory.OBJECT_TYPE_AUDIO_ONLY, "b", "reversed", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
|
/* loaded from: classes3.dex */
|
|
final class NaturalOrderComparator implements Comparator<Comparable<? super Object>> {
|
|
public static final NaturalOrderComparator INSTANCE = new NaturalOrderComparator();
|
|
|
|
private NaturalOrderComparator() {
|
|
}
|
|
|
|
@Override // java.util.Comparator
|
|
public /* bridge */ /* synthetic */ int compare(Comparable<? super Object> comparable, Comparable<? super Object> comparable2) {
|
|
return compare2((Comparable<Object>) comparable, (Comparable<Object>) comparable2);
|
|
}
|
|
|
|
/* renamed from: compare, reason: avoid collision after fix types in other method */
|
|
public int compare2(Comparable<Object> a, Comparable<Object> b) {
|
|
Intrinsics.checkNotNullParameter(a, "a");
|
|
Intrinsics.checkNotNullParameter(b, "b");
|
|
return a.compareTo(b);
|
|
}
|
|
|
|
@Override // java.util.Comparator
|
|
public final Comparator<Comparable<? super Object>> reversed() {
|
|
return ReverseOrderComparator.INSTANCE;
|
|
}
|
|
}
|