Wrote /root/JavaX-Caches/tmp_649356218/main.java - 2019 bytes (written=2019, should be 2019) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_2140195053 /root/JavaX-Caches/tmp_649356218/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_649356218/main.java:13: error: class, interface, or enum expected sclass WeightlessShuffledIterator<A> extends ItIt<A> is IndexIterator { ^ /root/JavaX-Caches/tmp_649356218/main.java:14: error: class, interface, or enum expected final L<A> list; ^ /root/JavaX-Caches/tmp_649356218/main.java:15: error: class, interface, or enum expected final int n; ^ /root/JavaX-Caches/tmp_649356218/main.java:16: error: class, interface, or enum expected final int bits, cycleLength, a, b, c; ^ /root/JavaX-Caches/tmp_649356218/main.java:18: error: class, interface, or enum expected int i; // step counter ^ /root/JavaX-Caches/tmp_649356218/main.java:21: error: class, interface, or enum expected int value; ^ /root/JavaX-Caches/tmp_649356218/main.java:25: error: class, interface, or enum expected *(int n) { ^ /root/JavaX-Caches/tmp_649356218/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_649356218/main.java:32: error: class, interface, or enum expected if (n == 0) ret with a = b = c = bits = cycleLength = 0; ^ /root/JavaX-Caches/tmp_649356218/main.java:33: error: class, interface, or enum expected bits = numberOfBitsNeededToRepresentNOptions(n+1); ^ /root/JavaX-Caches/tmp_649356218/main.java:34: error: class, interface, or enum expected var lsfr = new TripletLSFR(bits); ^ /root/JavaX-Caches/tmp_649356218/main.java:35: error: class, interface, or enum expected meta-for a also as b, c, value, cycleLength { a = lsfr.a; } ^ /root/JavaX-Caches/tmp_649356218/main.java:35: error: class, interface, or enum expected meta-for a also as b, c, value, cycleLength { a = lsfr.a; } ^ /root/JavaX-Caches/tmp_649356218/main.java:38: error: class, interface, or enum expected public bool hasNext() { ret i < n; } ^ /root/JavaX-Caches/tmp_649356218/main.java:38: error: class, interface, or enum expected public bool hasNext() { ret i < n; } ^ /root/JavaX-Caches/tmp_649356218/main.java:40: error: class, interface, or enum expected public A next() { ^ /root/JavaX-Caches/tmp_649356218/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_649356218/main.java:46: error: class, interface, or enum expected public int nextIndex() { ^ /root/JavaX-Caches/tmp_649356218/main.java:48: error: class, interface, or enum expected ++i; ^ /root/JavaX-Caches/tmp_649356218/main.java:50: error: class, interface, or enum expected int raw; ^ /root/JavaX-Caches/tmp_649356218/main.java:51: error: class, interface, or enum expected do { ^ /root/JavaX-Caches/tmp_649356218/main.java:53: error: class, interface, or enum expected x ^= (x << a) & cycleLength; ^ /root/JavaX-Caches/tmp_649356218/main.java:54: error: class, interface, or enum expected x ^= x >>> b; ^ /root/JavaX-Caches/tmp_649356218/main.java:55: error: class, interface, or enum expected x ^= (x << c) & cycleLength; ^ /root/JavaX-Caches/tmp_649356218/main.java:56: error: class, interface, or enum expected value = x; ^ /root/JavaX-Caches/tmp_649356218/main.java:57: error: class, interface, or enum expected raw = postProcessLSFRValue(x-1); ^ /root/JavaX-Caches/tmp_649356218/main.java:58: error: class, interface, or enum expected } while (raw >= n); ^ /root/JavaX-Caches/tmp_649356218/main.java:60: error: class, interface, or enum expected ret raw; ^ /root/JavaX-Caches/tmp_649356218/main.java:61: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_649356218/main.java:63: error: class, interface, or enum expected int bits() { ret bits; } ^ /root/JavaX-Caches/tmp_649356218/main.java:63: error: class, interface, or enum expected int bits() { ret bits; } ^ /root/JavaX-Caches/tmp_649356218/main.java:66: error: class, interface, or enum expected int postProcessLSFRValue(int i) { ret i; } ^ 32 errors