mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
30 lines
2 KiB
Java
30 lines
2 KiB
Java
|
package androidx.compose.runtime;
|
||
|
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.jvm.internal.Intrinsics;
|
||
|
|
||
|
/* compiled from: SnapshotStateExtensions.kt */
|
||
|
@Metadata(d1 = {"\u0000.\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\t\n\u0000\u001a\u0012\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u0007\u001a\u0012\u0010\u0004\u001a\u00020\u0005*\b\u0012\u0004\u0012\u00020\u00060\u0002H\u0007\u001a\u0012\u0010\u0007\u001a\u00020\b*\b\u0012\u0004\u0012\u00020\t0\u0002H\u0007\u001a\u0012\u0010\n\u001a\u00020\u000b*\b\u0012\u0004\u0012\u00020\f0\u0002H\u0007¨\u0006\r"}, d2 = {"asDoubleState", "Landroidx/compose/runtime/DoubleState;", "Landroidx/compose/runtime/State;", "", "asFloatState", "Landroidx/compose/runtime/FloatState;", "", "asIntState", "Landroidx/compose/runtime/IntState;", "", "asLongState", "Landroidx/compose/runtime/LongState;", "", "runtime_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class SnapshotStateExtensionsKt {
|
||
|
public static final IntState asIntState(State<Integer> state) {
|
||
|
Intrinsics.checkNotNullParameter(state, "<this>");
|
||
|
return state instanceof IntState ? (IntState) state : new UnboxedIntState(state);
|
||
|
}
|
||
|
|
||
|
public static final LongState asLongState(State<Long> state) {
|
||
|
Intrinsics.checkNotNullParameter(state, "<this>");
|
||
|
return state instanceof LongState ? (LongState) state : new UnboxedLongState(state);
|
||
|
}
|
||
|
|
||
|
public static final FloatState asFloatState(State<Float> state) {
|
||
|
Intrinsics.checkNotNullParameter(state, "<this>");
|
||
|
return state instanceof FloatState ? (FloatState) state : new UnboxedFloatState(state);
|
||
|
}
|
||
|
|
||
|
public static final DoubleState asDoubleState(State<Double> state) {
|
||
|
Intrinsics.checkNotNullParameter(state, "<this>");
|
||
|
return state instanceof DoubleState ? (DoubleState) state : new UnboxedDoubleState(state);
|
||
|
}
|
||
|
}
|