Rabbit-R1/original r1/java/sources/androidx/compose/runtime/SlotWriter$groupSlots$1.java

55 lines
2.2 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.runtime;
import io.sentry.protocol.SentryThread;
import java.util.Iterator;
import kotlin.Metadata;
import kotlin.jvm.internal.markers.KMappedMarker;
/* compiled from: SlotTable.kt */
@Metadata(d1 = {"\u0000\u001f\n\u0000\n\u0002\u0010(\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0002*\u0001\u0000\b\n\u0018\u00002\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0001J\t\u0010\t\u001a\u00020\nH\u0096\u0002J\u000b\u0010\u000b\u001a\u0004\u0018\u00010\u0002H\u0096\u0002R\u001a\u0010\u0003\u001a\u00020\u0004X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\\u0006\f"}, d2 = {"androidx/compose/runtime/SlotWriter$groupSlots$1", "", "", SentryThread.JsonKeys.CURRENT, "", "getCurrent", "()I", "setCurrent", "(I)V", "hasNext", "", "next", "runtime_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class SlotWriter$groupSlots$1 implements Iterator<Object>, KMappedMarker {
final /* synthetic */ int $end;
private int current;
final /* synthetic */ SlotWriter this$0;
public final int getCurrent() {
return this.current;
}
@Override // java.util.Iterator
public boolean hasNext() {
return this.current < this.$end;
}
@Override // java.util.Iterator
public void remove() {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
public final void setCurrent(int i) {
this.current = i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public SlotWriter$groupSlots$1(int i, int i2, SlotWriter slotWriter) {
this.$end = i2;
this.this$0 = slotWriter;
this.current = i;
}
@Override // java.util.Iterator
public Object next() {
int dataIndexToDataAddress;
if (!hasNext()) {
return null;
}
Object[] objArr = this.this$0.slots;
SlotWriter slotWriter = this.this$0;
int i = this.current;
this.current = i + 1;
dataIndexToDataAddress = slotWriter.dataIndexToDataAddress(i);
return objArr[dataIndexToDataAddress];
}
}