Wrote /root/JavaX-Caches/tmp_1126804436/main.java - 1635 bytes (written=1635, should be 1635) 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_1714672746 /root/JavaX-Caches/tmp_1126804436/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_1126804436/main.java:8: error: class, interface, or enum expected sclass WeightlessShuffledIterator<A> extends ItIt<A> { ^ /root/JavaX-Caches/tmp_1126804436/main.java:9: error: class, interface, or enum expected final L<A> list; ^ /root/JavaX-Caches/tmp_1126804436/main.java:10: error: class, interface, or enum expected final int n; ^ /root/JavaX-Caches/tmp_1126804436/main.java:11: error: class, interface, or enum expected int i; ^ /root/JavaX-Caches/tmp_1126804436/main.java:12: error: class, interface, or enum expected final TripletLSFR lsfr; ^ /root/JavaX-Caches/tmp_1126804436/main.java:16: error: class, interface, or enum expected *(int n) { ^ /root/JavaX-Caches/tmp_1126804436/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1126804436/main.java:23: error: class, interface, or enum expected if (n == 0) ret with lsfr = null; ^ /root/JavaX-Caches/tmp_1126804436/main.java:24: error: class, interface, or enum expected int bits = numberOfBitsNeededToRepresentNOptions(n+1); ^ /root/JavaX-Caches/tmp_1126804436/main.java:25: error: class, interface, or enum expected lsfr = new TripletLSFR(bits); ^ /root/JavaX-Caches/tmp_1126804436/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1126804436/main.java:28: error: class, interface, or enum expected public bool hasNext() { ret i < n; } ^ /root/JavaX-Caches/tmp_1126804436/main.java:28: error: class, interface, or enum expected public bool hasNext() { ret i < n; } ^ /root/JavaX-Caches/tmp_1126804436/main.java:30: error: class, interface, or enum expected public A next() { ^ /root/JavaX-Caches/tmp_1126804436/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1126804436/main.java:36: error: class, interface, or enum expected public int nextIndex() { ^ /root/JavaX-Caches/tmp_1126804436/main.java:39: error: class, interface, or enum expected int raw; ^ /root/JavaX-Caches/tmp_1126804436/main.java:40: error: class, interface, or enum expected do { ^ /root/JavaX-Caches/tmp_1126804436/main.java:44: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_1126804436/main.java:48: error: class, interface, or enum expected printVars ifdef WeightlessShuffledIterator_debug(+i, +raw, step := lsfr.step); ^ /root/JavaX-Caches/tmp_1126804436/main.java:49: error: class, interface, or enum expected } while (raw >= n); ^ /root/JavaX-Caches/tmp_1126804436/main.java:51: error: class, interface, or enum expected ret raw; ^ /root/JavaX-Caches/tmp_1126804436/main.java:52: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_1126804436/main.java:54: error: class, interface, or enum expected int bits() { ret lsfr == null ? 0 : lsfr.n; } ^ /root/JavaX-Caches/tmp_1126804436/main.java:54: error: class, interface, or enum expected int bits() { ret lsfr == null ? 0 : lsfr.n; } ^ /root/JavaX-Caches/tmp_1126804436/main.java:57: error: class, interface, or enum expected int postProcessLSFRValue(int i) { ret i; } ^ 26 errors