Files
rr3-apk/decompiled-community/sources/kotlin/io/LinesSequence$iterator$1.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

49 lines
1.4 KiB
Java

package kotlin.io;
import java.io.BufferedReader;
import java.util.Iterator;
import java.util.NoSuchElementException;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.markers.KMappedMarker;
/* loaded from: classes5.dex */
public final class LinesSequence$iterator$1 implements Iterator, KMappedMarker {
public boolean done;
public String nextValue;
public final /* synthetic */ LinesSequence this$0;
@Override // java.util.Iterator
public void remove() {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
public LinesSequence$iterator$1(LinesSequence linesSequence) {
this.this$0 = linesSequence;
}
@Override // java.util.Iterator
public boolean hasNext() {
BufferedReader bufferedReader;
if (this.nextValue == null && !this.done) {
bufferedReader = this.this$0.reader;
String readLine = bufferedReader.readLine();
this.nextValue = readLine;
if (readLine == null) {
this.done = true;
}
}
return this.nextValue != null;
}
@Override // java.util.Iterator
public String next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
String str = this.nextValue;
this.nextValue = null;
Intrinsics.checkNotNull(str);
return str;
}
}