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

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

/root/JavaX-Caches/tmp_385413808/main.java:3: error: class, interface, or enum expected static T3<Double, Int, Int> findBestThreshold(Cl<Double> list1, Cl<Double> list2) { ^ /root/JavaX-Caches/tmp_385413808/main.java:6: error: class, interface, or enum expected T3<Double, Int, Int> t = findThreshold_unmoved(list1, list2); ^ /root/JavaX-Caches/tmp_385413808/main.java:7: error: class, interface, or enum expected double threshold = t.a; ^ /root/JavaX-Caches/tmp_385413808/main.java:8: error: class, interface, or enum expected int falsePositives = t.b, falseNegatives = t.c; ^ /root/JavaX-Caches/tmp_385413808/main.java:11: error: class, interface, or enum expected L<Double> l = sorted(concatLists(list1, list2)); ^ /root/JavaX-Caches/tmp_385413808/main.java:12: error: class, interface, or enum expected int i = binarySearch_insertionPoint(l, threshold); ^ /root/JavaX-Caches/tmp_385413808/main.java:13: error: class, interface, or enum expected ifdef findBestThreshold_debug ^ /root/JavaX-Caches/tmp_385413808/main.java:15: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_385413808/main.java:19: error: class, interface, or enum expected double threshold2 = avg(l.get(i2), l.get(i2+1)); ^ /root/JavaX-Caches/tmp_385413808/main.java:20: error: class, interface, or enum expected int falsePositives2 = countPred(list1, d -> d > threshold2); // this is unoptimized ^ /root/JavaX-Caches/tmp_385413808/main.java:21: error: class, interface, or enum expected int falseNegatives2 = countPred(list2, d -> d <= threshold2); ^ /root/JavaX-Caches/tmp_385413808/main.java:22: error: class, interface, or enum expected ifdef findBestThreshold_debug ^ /root/JavaX-Caches/tmp_385413808/main.java:24: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_385413808/main.java:29: error: class, interface, or enum expected threshold = threshold2; ^ /root/JavaX-Caches/tmp_385413808/main.java:30: error: class, interface, or enum expected falsePositives = falsePositives2; ^ /root/JavaX-Caches/tmp_385413808/main.java:31: error: class, interface, or enum expected falseNegatives = falseNegatives2; ^ /root/JavaX-Caches/tmp_385413808/main.java:32: error: class, interface, or enum expected } else break; ^ /root/JavaX-Caches/tmp_385413808/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_385413808/main.java:37: error: class, interface, or enum expected double threshold2 = avg(l.get(i2), l.get(i2+1)); ^ /root/JavaX-Caches/tmp_385413808/main.java:38: error: class, interface, or enum expected int falsePositives2 = countPred(list1, d -> d > threshold2); ^ /root/JavaX-Caches/tmp_385413808/main.java:39: error: class, interface, or enum expected int falseNegatives2 = countPred(list2, d -> d <= threshold2); ^ /root/JavaX-Caches/tmp_385413808/main.java:40: error: class, interface, or enum expected ifdef findBestThreshold_debug ^ /root/JavaX-Caches/tmp_385413808/main.java:42: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_385413808/main.java:47: error: class, interface, or enum expected threshold = threshold2; ^ /root/JavaX-Caches/tmp_385413808/main.java:48: error: class, interface, or enum expected falsePositives = falsePositives2; ^ /root/JavaX-Caches/tmp_385413808/main.java:49: error: class, interface, or enum expected falseNegatives = falseNegatives2; ^ /root/JavaX-Caches/tmp_385413808/main.java:50: error: class, interface, or enum expected } else break; ^ /root/JavaX-Caches/tmp_385413808/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_385413808/main.java:54: error: class, interface, or enum expected } ^ 29 errors