Rabbit-R1/android (non root)/java/sources/androidx/compose/runtime/Anchor.java

39 lines
1.9 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.runtime;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: SlotTable.kt */
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0000\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u000e\u0010\r\u001a\u00020\u00032\u0006\u0010\u000e\u001a\u00020\u000fJ\u000e\u0010\r\u001a\u00020\u00032\u0006\u0010\u0010\u001a\u00020\u0011R\u001a\u0010\u0005\u001a\u00020\u0003X\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0004\b\b\u0010\u0004R\u0011\u0010\t\u001a\u00020\n8F¢\u0006\u0006\u001a\u0004\b\u000b\u0010\\u0006\u0012"}, d2 = {"Landroidx/compose/runtime/Anchor;", "", "loc", "", "(I)V", "location", "getLocation$runtime_release", "()I", "setLocation$runtime_release", "valid", "", "getValid", "()Z", "toIndexFor", "slots", "Landroidx/compose/runtime/SlotTable;", "writer", "Landroidx/compose/runtime/SlotWriter;", "runtime_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class Anchor {
private int location;
/* renamed from: getLocation$runtime_release, reason: from getter */
public final int getLocation() {
return this.location;
}
public final boolean getValid() {
return this.location != Integer.MIN_VALUE;
}
public final void setLocation$runtime_release(int i) {
this.location = i;
}
public Anchor(int i) {
this.location = i;
}
public final int toIndexFor(SlotTable slots) {
Intrinsics.checkNotNullParameter(slots, "slots");
return slots.anchorIndex(this);
}
public final int toIndexFor(SlotWriter writer) {
Intrinsics.checkNotNullParameter(writer, "writer");
return writer.anchorIndex(this);
}
}