Rabbit-R1/original r1/java/sources/kotlin/TuplesKt.java
2024-05-21 17:08:36 -04:00

25 lines
1.8 KiB
Java

package kotlin;
import androidx.exifinterface.media.ExifInterface;
import java.util.List;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Tuples.kt */
@Metadata(d1 = {"\u0000\u0016\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010 \n\u0000\n\u0002\u0018\u0002\n\u0000\u001a2\u0010\u0000\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0001\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0002H\u00022\u0006\u0010\u0004\u001a\u0002H\u0003H\u0086\u0004¢\u0006\u0002\u0010\u0005\u001a\"\u0010\u0006\u001a\b\u0012\u0004\u0012\u0002H\b0\u0007\"\u0004\b\u0000\u0010\b*\u000e\u0012\u0004\u0012\u0002H\b\u0012\u0004\u0012\u0002H\b0\u0001\u001a(\u0010\u0006\u001a\b\u0012\u0004\u0012\u0002H\b0\u0007\"\u0004\b\u0000\u0010\b*\u0014\u0012\u0004\u0012\u0002H\b\u0012\u0004\u0012\u0002H\b\u0012\u0004\u0012\u0002H\b0\\u0006\n"}, d2 = {"to", "Lkotlin/Pair;", ExifInterface.GPS_MEASUREMENT_IN_PROGRESS, "B", "that", "(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;", "toList", "", ExifInterface.GPS_DIRECTION_TRUE, "Lkotlin/Triple;", "kotlin-stdlib"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes3.dex */
public final class TuplesKt {
public static final <A, B> Pair<A, B> to(A a, B b) {
return new Pair<>(a, b);
}
public static final <T> List<T> toList(Pair<? extends T, ? extends T> pair) {
Intrinsics.checkNotNullParameter(pair, "<this>");
return CollectionsKt.listOf(pair.getFirst(), pair.getSecond());
}
public static final <T> List<T> toList(Triple<? extends T, ? extends T, ? extends T> triple) {
Intrinsics.checkNotNullParameter(triple, "<this>");
return CollectionsKt.listOf(triple.getFirst(), triple.getSecond(), triple.getThird());
}
}