mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
249 lines
15 KiB
Java
249 lines
15 KiB
Java
package kotlin.comparisons;
|
|
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
import androidx.exifinterface.media.ExifInterface;
|
|
import androidx.media3.exoplayer.upstream.CmcdHeadersFactory;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* compiled from: _ComparisonsJvm.kt */
|
|
@Metadata(d1 = {"\u0000F\n\u0002\b\u0002\n\u0002\u0010\u000f\n\u0002\b\u0006\n\u0002\u0010\u0011\n\u0000\n\u0002\u0010\u0005\n\u0002\u0010\u0012\n\u0002\u0010\u0006\n\u0002\u0010\u0013\n\u0002\u0010\u0007\n\u0002\u0010\u0014\n\u0002\u0010\b\n\u0002\u0010\u0015\n\u0002\u0010\t\n\u0002\u0010\u0016\n\u0002\u0010\n\n\u0002\u0010\u0017\n\u0002\b\u0002\u001a-\u0010\u0000\u001a\u0002H\u0001\"\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\u0006\u0010\u0003\u001a\u0002H\u00012\u0006\u0010\u0004\u001a\u0002H\u0001H\u0007¢\u0006\u0002\u0010\u0005\u001a5\u0010\u0000\u001a\u0002H\u0001\"\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\u0006\u0010\u0003\u001a\u0002H\u00012\u0006\u0010\u0004\u001a\u0002H\u00012\u0006\u0010\u0006\u001a\u0002H\u0001H\u0007¢\u0006\u0002\u0010\u0007\u001a9\u0010\u0000\u001a\u0002H\u0001\"\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\u0006\u0010\u0003\u001a\u0002H\u00012\u0012\u0010\b\u001a\n\u0012\u0006\b\u0001\u0012\u0002H\u00010\t\"\u0002H\u0001H\u0007¢\u0006\u0002\u0010\n\u001a\u0019\u0010\u0000\u001a\u00020\u000b2\u0006\u0010\u0003\u001a\u00020\u000b2\u0006\u0010\u0004\u001a\u00020\u000bH\u0087\b\u001a!\u0010\u0000\u001a\u00020\u000b2\u0006\u0010\u0003\u001a\u00020\u000b2\u0006\u0010\u0004\u001a\u00020\u000b2\u0006\u0010\u0006\u001a\u00020\u000bH\u0087\b\u001a\u001c\u0010\u0000\u001a\u00020\u000b2\u0006\u0010\u0003\u001a\u00020\u000b2\n\u0010\b\u001a\u00020\f\"\u00020\u000bH\u0007\u001a\u0019\u0010\u0000\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\r2\u0006\u0010\u0004\u001a\u00020\rH\u0087\b\u001a!\u0010\u0000\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\r2\u0006\u0010\u0004\u001a\u00020\r2\u0006\u0010\u0006\u001a\u00020\rH\u0087\b\u001a\u001c\u0010\u0000\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\r2\n\u0010\b\u001a\u00020\u000e\"\u00020\rH\u0007\u001a\u0019\u0010\u0000\u001a\u00020\u000f2\u0006\u0010\u0003\u001a\u00020\u000f2\u0006\u0010\u0004\u001a\u00020\u000fH\u0087\b\u001a!\u0010\u0000\u001a\u00020\u000f2\u0006\u0010\u0003\u001a\u00020\u000f2\u0006\u0010\u0004\u001a\u00020\u000f2\u0006\u0010\u0006\u001a\u00020\u000fH\u0087\b\u001a\u001c\u0010\u0000\u001a\u00020\u000f2\u0006\u0010\u0003\u001a\u00020\u000f2\n\u0010\b\u001a\u00020\u0010\"\u00020\u000fH\u0007\u001a\u0019\u0010\u0000\u001a\u00020\u00112\u0006\u0010\u0003\u001a\u00020\u00112\u0006\u0010\u0004\u001a\u00020\u0011H\u0087\b\u001a!\u0010\u0000\u001a\u00020\u00112\u0006\u0010\u0003\u001a\u00020\u00112\u0006\u0010\u0004\u001a\u00020\u00112\u0006\u0010\u0006\u001a\u00020\u0011H\u0087\b\u001a\u001c\u0010\u0000\u001a\u00020\u00112\u0006\u0010\u0003\u001a\u00020\u00112\n\u0010\b\u001a\u00020\u0012\"\u00020\u0011H\u0007\u001a\u0019\u0010\u0000\u001a\u00020\u00132\u0006\u0010\u0003\u001a\u00020\u00132\u0006\u0010\u0004\u001a\u00020\u0013H\u0087\b\u001a!\u0010\u0000\u001a\u00020\u00132\u0006\u0010\u0003\u001a\u00020\u00132\u0006\u0010\u0004\u001a\u00020\u00132\u0006\u0010\u0006\u001a\u00020\u0013H\u0087\b\u001a\u001c\u0010\u0000\u001a\u00020\u00132\u0006\u0010\u0003\u001a\u00020\u00132\n\u0010\b\u001a\u00020\u0014\"\u00020\u0013H\u0007\u001a\u0019\u0010\u0000\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u00152\u0006\u0010\u0004\u001a\u00020\u0015H\u0087\b\u001a!\u0010\u0000\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u00152\u0006\u0010\u0004\u001a\u00020\u00152\u0006\u0010\u0006\u001a\u00020\u0015H\u0087\b\u001a\u001c\u0010\u0000\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u00152\n\u0010\b\u001a\u00020\u0016\"\u00020\u0015H\u0007\u001a-\u0010\u0017\u001a\u0002H\u0001\"\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\u0006\u0010\u0003\u001a\u0002H\u00012\u0006\u0010\u0004\u001a\u0002H\u0001H\u0007¢\u0006\u0002\u0010\u0005\u001a5\u0010\u0017\u001a\u0002H\u0001\"\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\u0006\u0010\u0003\u001a\u0002H\u00012\u0006\u0010\u0004\u001a\u0002H\u00012\u0006\u0010\u0006\u001a\u0002H\u0001H\u0007¢\u0006\u0002\u0010\u0007\u001a9\u0010\u0017\u001a\u0002H\u0001\"\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\u0006\u0010\u0003\u001a\u0002H\u00012\u0012\u0010\b\u001a\n\u0012\u0006\b\u0001\u0012\u0002H\u00010\t\"\u0002H\u0001H\u0007¢\u0006\u0002\u0010\n\u001a\u0019\u0010\u0017\u001a\u00020\u000b2\u0006\u0010\u0003\u001a\u00020\u000b2\u0006\u0010\u0004\u001a\u00020\u000bH\u0087\b\u001a!\u0010\u0017\u001a\u00020\u000b2\u0006\u0010\u0003\u001a\u00020\u000b2\u0006\u0010\u0004\u001a\u00020\u000b2\u0006\u0010\u0006\u001a\u00020\u000bH\u0087\b\u001a\u001c\u0010\u0017\u001a\u00020\u000b2\u0006\u0010\u0003\u001a\u00020\u000b2\n\u0010\b\u001a\u00020\f\"\u00020\u000bH\u0007\u001a\u0019\u0010\u0017\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\r2\u0006\u0010\u0004\u001a\u00020\rH\u0087\b\u001a!\u0010\u0017\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\r2\u0006\u0010\u0004\u001a\u00020\r2\u0006\u0010\u0006\u001a\u00020\rH\u0087\b\u001a\u001c\u0010\u0017\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\r2\n\u0010\b\u001a\u00020\u000e\"\u00020\rH\u0007\u001a\u0019\u0010\u0017\u001a\u00020\u000f2\u0006\u0010\u0003\u001a\u00020\u000f2\u0006\u0010\u0004\u001a\u00020\u000fH\u0087\b\u001a!\u0010\u0017\u001a\u00020\u000f2\u0006\u0010\u0003\u001a\u00020\u000f2\u0006\u0010\u0004\u001a\u00020\u000f2\u0006\u0010\u0006\u001a\u00020\u000fH\u0087\b\u001a\u001c\u0010\u0017\u001a\u00020\u000f2\u0006\u0010\u0003\u001a\u00020\u000f2\n\u0010\b\u001a\u00020\u0010\"\u00020\u000fH\u0007\u001a\u0019\u0010\u0017\u001a\u00020\u00112\u0006\u0010\u0003\u001a\u00020\u00112\u0006\u0010\u0004\u001a\u00020\u0011H\u0087\b\u001a!\u0010\u0017\u001a\u00020\u00112\u0006\u0010\u0003\u001a\u00020\u00112\u0006\u0010\u0004\u001a\u00020\u00112\u0006\u0010\u0006\u001a\u00020\u0011H\u0087\b\u001a\u001c\u0010\u0017\u001a\u00020\u00112\u0006\u0010\u0003\u001a\u00020\u00112\n\u0010\b\u001a\u00020\u0012\"\u00020\u0011H\u0007\u001a\u0019\u0010\u0017\u001a\u00020\u00132\u0006\u0010\u0003\u001a\u00020\u00132\u0006\u0010\u0004\u001a\u00020\u0013H\u0087\b\u001a!\u0010\u0017\u001a\u00020\u00132\u0006\u0010\u0003\u001a\u00020\u00132\u0006\u0010\u0004\u001a\u00020\u00132\u0006\u0010\u0006\u001a\u00020\u0013H\u0087\b\u001a\u001c\u0010\u0017\u001a\u00020\u00132\u0006\u0010\u0003\u001a\u00020\u00132\n\u0010\b\u001a\u00020\u0014\"\u00020\u0013H\u0007\u001a\u0019\u0010\u0017\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u00152\u0006\u0010\u0004\u001a\u00020\u0015H\u0087\b\u001a!\u0010\u0017\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u00152\u0006\u0010\u0004\u001a\u00020\u00152\u0006\u0010\u0006\u001a\u00020\u0015H\u0087\b\u001a\u001c\u0010\u0017\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u00152\n\u0010\b\u001a\u00020\u0016\"\u00020\u0015H\u0007¨\u0006\u0018"}, d2 = {"maxOf", ExifInterface.GPS_DIRECTION_TRUE, "", CmcdHeadersFactory.OBJECT_TYPE_AUDIO_ONLY, "b", "(Ljava/lang/Comparable;Ljava/lang/Comparable;)Ljava/lang/Comparable;", "c", "(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;)Ljava/lang/Comparable;", "other", "", "(Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/Comparable;", "", "", "", "", "", "", "", "", "", "", "", "", "minOf", "kotlin-stdlib"}, k = 5, mv = {1, 9, 0}, xi = ConstraintLayout.LayoutParams.Table.LAYOUT_EDITOR_ABSOLUTEX, xs = "kotlin/comparisons/ComparisonsKt")
|
|
/* loaded from: classes3.dex */
|
|
public class ComparisonsKt___ComparisonsJvmKt extends ComparisonsKt__ComparisonsKt {
|
|
public static final <T extends Comparable<? super T>> T maxOf(T a, T b) {
|
|
Intrinsics.checkNotNullParameter(a, "a");
|
|
Intrinsics.checkNotNullParameter(b, "b");
|
|
return a.compareTo(b) >= 0 ? a : b;
|
|
}
|
|
|
|
private static final byte maxOf(byte b, byte b2) {
|
|
return (byte) Math.max((int) b, (int) b2);
|
|
}
|
|
|
|
private static final short maxOf(short s, short s2) {
|
|
return (short) Math.max((int) s, (int) s2);
|
|
}
|
|
|
|
private static final int maxOf(int i, int i2) {
|
|
return Math.max(i, i2);
|
|
}
|
|
|
|
private static final long maxOf(long j, long j2) {
|
|
return Math.max(j, j2);
|
|
}
|
|
|
|
private static final float maxOf(float f, float f2) {
|
|
return Math.max(f, f2);
|
|
}
|
|
|
|
private static final double maxOf(double d, double d2) {
|
|
return Math.max(d, d2);
|
|
}
|
|
|
|
public static final <T extends Comparable<? super T>> T maxOf(T a, T b, T c) {
|
|
Intrinsics.checkNotNullParameter(a, "a");
|
|
Intrinsics.checkNotNullParameter(b, "b");
|
|
Intrinsics.checkNotNullParameter(c, "c");
|
|
return (T) ComparisonsKt.maxOf(a, ComparisonsKt.maxOf(b, c));
|
|
}
|
|
|
|
private static final byte maxOf(byte b, byte b2, byte b3) {
|
|
return (byte) Math.max((int) b, Math.max((int) b2, (int) b3));
|
|
}
|
|
|
|
private static final short maxOf(short s, short s2, short s3) {
|
|
return (short) Math.max((int) s, Math.max((int) s2, (int) s3));
|
|
}
|
|
|
|
private static final int maxOf(int i, int i2, int i3) {
|
|
return Math.max(i, Math.max(i2, i3));
|
|
}
|
|
|
|
private static final long maxOf(long j, long j2, long j3) {
|
|
return Math.max(j, Math.max(j2, j3));
|
|
}
|
|
|
|
private static final float maxOf(float f, float f2, float f3) {
|
|
return Math.max(f, Math.max(f2, f3));
|
|
}
|
|
|
|
private static final double maxOf(double d, double d2, double d3) {
|
|
return Math.max(d, Math.max(d2, d3));
|
|
}
|
|
|
|
public static final <T extends Comparable<? super T>> T maxOf(T a, T... other) {
|
|
Intrinsics.checkNotNullParameter(a, "a");
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (T t : other) {
|
|
a = (T) ComparisonsKt.maxOf(a, t);
|
|
}
|
|
return a;
|
|
}
|
|
|
|
public static final byte maxOf(byte b, byte... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (byte b2 : other) {
|
|
b = (byte) Math.max((int) b, (int) b2);
|
|
}
|
|
return b;
|
|
}
|
|
|
|
public static final short maxOf(short s, short... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (short s2 : other) {
|
|
s = (short) Math.max((int) s, (int) s2);
|
|
}
|
|
return s;
|
|
}
|
|
|
|
public static final int maxOf(int i, int... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (int i2 : other) {
|
|
i = Math.max(i, i2);
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static final long maxOf(long j, long... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (long j2 : other) {
|
|
j = Math.max(j, j2);
|
|
}
|
|
return j;
|
|
}
|
|
|
|
public static final float maxOf(float f, float... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (float f2 : other) {
|
|
f = Math.max(f, f2);
|
|
}
|
|
return f;
|
|
}
|
|
|
|
public static final double maxOf(double d, double... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (double d2 : other) {
|
|
d = Math.max(d, d2);
|
|
}
|
|
return d;
|
|
}
|
|
|
|
public static final <T extends Comparable<? super T>> T minOf(T a, T b) {
|
|
Intrinsics.checkNotNullParameter(a, "a");
|
|
Intrinsics.checkNotNullParameter(b, "b");
|
|
return a.compareTo(b) <= 0 ? a : b;
|
|
}
|
|
|
|
private static final byte minOf(byte b, byte b2) {
|
|
return (byte) Math.min((int) b, (int) b2);
|
|
}
|
|
|
|
private static final short minOf(short s, short s2) {
|
|
return (short) Math.min((int) s, (int) s2);
|
|
}
|
|
|
|
private static final int minOf(int i, int i2) {
|
|
return Math.min(i, i2);
|
|
}
|
|
|
|
private static final long minOf(long j, long j2) {
|
|
return Math.min(j, j2);
|
|
}
|
|
|
|
private static final float minOf(float f, float f2) {
|
|
return Math.min(f, f2);
|
|
}
|
|
|
|
private static final double minOf(double d, double d2) {
|
|
return Math.min(d, d2);
|
|
}
|
|
|
|
public static final <T extends Comparable<? super T>> T minOf(T a, T b, T c) {
|
|
Intrinsics.checkNotNullParameter(a, "a");
|
|
Intrinsics.checkNotNullParameter(b, "b");
|
|
Intrinsics.checkNotNullParameter(c, "c");
|
|
return (T) ComparisonsKt.minOf(a, ComparisonsKt.minOf(b, c));
|
|
}
|
|
|
|
private static final byte minOf(byte b, byte b2, byte b3) {
|
|
return (byte) Math.min((int) b, Math.min((int) b2, (int) b3));
|
|
}
|
|
|
|
private static final short minOf(short s, short s2, short s3) {
|
|
return (short) Math.min((int) s, Math.min((int) s2, (int) s3));
|
|
}
|
|
|
|
private static final int minOf(int i, int i2, int i3) {
|
|
return Math.min(i, Math.min(i2, i3));
|
|
}
|
|
|
|
private static final long minOf(long j, long j2, long j3) {
|
|
return Math.min(j, Math.min(j2, j3));
|
|
}
|
|
|
|
private static final float minOf(float f, float f2, float f3) {
|
|
return Math.min(f, Math.min(f2, f3));
|
|
}
|
|
|
|
private static final double minOf(double d, double d2, double d3) {
|
|
return Math.min(d, Math.min(d2, d3));
|
|
}
|
|
|
|
public static final <T extends Comparable<? super T>> T minOf(T a, T... other) {
|
|
Intrinsics.checkNotNullParameter(a, "a");
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (T t : other) {
|
|
a = (T) ComparisonsKt.minOf(a, t);
|
|
}
|
|
return a;
|
|
}
|
|
|
|
public static final byte minOf(byte b, byte... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (byte b2 : other) {
|
|
b = (byte) Math.min((int) b, (int) b2);
|
|
}
|
|
return b;
|
|
}
|
|
|
|
public static final short minOf(short s, short... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (short s2 : other) {
|
|
s = (short) Math.min((int) s, (int) s2);
|
|
}
|
|
return s;
|
|
}
|
|
|
|
public static final int minOf(int i, int... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (int i2 : other) {
|
|
i = Math.min(i, i2);
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static final long minOf(long j, long... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (long j2 : other) {
|
|
j = Math.min(j, j2);
|
|
}
|
|
return j;
|
|
}
|
|
|
|
public static final float minOf(float f, float... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (float f2 : other) {
|
|
f = Math.min(f, f2);
|
|
}
|
|
return f;
|
|
}
|
|
|
|
public static final double minOf(double d, double... other) {
|
|
Intrinsics.checkNotNullParameter(other, "other");
|
|
for (double d2 : other) {
|
|
d = Math.min(d, d2);
|
|
}
|
|
return d;
|
|
}
|
|
}
|