Rabbit-R1/switch port/java/sources/androidx/compose/runtime/UnboxedDoubleState.java
2024-05-21 17:08:36 -04:00

31 lines
1.9 KiB
Java

package androidx.compose.runtime;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: SnapshotStateExtensions.kt */
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0002\b\b\n\u0002\u0010\u000e\n\u0000\b\u0000\u0018\u00002\u00020\u0001B\u0013\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\u0010\u0005J\b\u0010\f\u001a\u00020\rH\u0016R\u0014\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0006\u001a\u00020\u00048VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\bR\u0014\u0010\t\u001a\u00020\u00048VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\u000b¨\u0006\u000e"}, d2 = {"Landroidx/compose/runtime/UnboxedDoubleState;", "Landroidx/compose/runtime/DoubleState;", "baseState", "Landroidx/compose/runtime/State;", "", "(Landroidx/compose/runtime/State;)V", "doubleValue", "getDoubleValue", "()D", "value", "getValue", "()Ljava/lang/Double;", "toString", "", "runtime_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class UnboxedDoubleState implements DoubleState {
private final State<Double> baseState;
public UnboxedDoubleState(State<Double> baseState) {
Intrinsics.checkNotNullParameter(baseState, "baseState");
this.baseState = baseState;
}
@Override // androidx.compose.runtime.DoubleState
public double getDoubleValue() {
return this.baseState.getValue().doubleValue();
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // androidx.compose.runtime.DoubleState, androidx.compose.runtime.State
public Double getValue() {
return this.baseState.getValue();
}
public String toString() {
return "UnboxedDoubleState(baseState=" + this.baseState + ")@" + hashCode();
}
}