Wrote /root/JavaX-Caches/tmp_501774869/main.java - 1542 bytes (written=1542, should be 1542) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_824102867 /root/JavaX-Caches/tmp_501774869/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_501774869/main.java:1: error: class, interface, or enum expected !747 ^ /root/JavaX-Caches/tmp_501774869/main.java:6: error: class, interface, or enum expected !include #1000989 // SnippetDB ^ /root/JavaX-Caches/tmp_501774869/main.java:6: error: illegal character: '#' !include #1000989 // SnippetDB ^ /root/JavaX-Caches/tmp_501774869/main.java:7: error: illegal character: '#' !include #1000988 // MultiSet ^ /root/JavaX-Caches/tmp_501774869/main.java:12: error: class, interface, or enum expected List<List<S>> rows = db.rowsOrderedBy("sn_created"); ^ /root/JavaX-Caches/tmp_501774869/main.java:13: error: class, interface, or enum expected int i = 0; ^ /root/JavaX-Caches/tmp_501774869/main.java:14: error: class, interface, or enum expected while (i < 3) { ^ /root/JavaX-Caches/tmp_501774869/main.java:16: error: class, interface, or enum expected print(text + "\n==\n"); ^ /root/JavaX-Caches/tmp_501774869/main.java:17: error: class, interface, or enum expected ++i; ^ /root/JavaX-Caches/tmp_501774869/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_501774869/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_501774869/main.java:30: error: class, interface, or enum expected L<S> tok2 = parse(sentence2); ^ /root/JavaX-Caches/tmp_501774869/main.java:31: error: class, interface, or enum expected Map<S, MultiSet<S>> map = makeMMapPrefix(tok1, tok2); ^ /root/JavaX-Caches/tmp_501774869/main.java:32: error: class, interface, or enum expected if (map == null) return null; ^ /root/JavaX-Caches/tmp_501774869/main.java:33: error: class, interface, or enum expected new L<S> tok; ^ /root/JavaX-Caches/tmp_501774869/main.java:34: error: class, interface, or enum expected tok.addAll(tok2.subList(0, tok2.size()-1)); ^ /root/JavaX-Caches/tmp_501774869/main.java:35: error: class, interface, or enum expected for (int i = tok2.size()-1; i < tok1.size(); i++) { ^ /root/JavaX-Caches/tmp_501774869/main.java:35: error: class, interface, or enum expected for (int i = tok2.size()-1; i < tok1.size(); i++) { ^ /root/JavaX-Caches/tmp_501774869/main.java:35: error: class, interface, or enum expected for (int i = tok2.size()-1; i < tok1.size(); i++) { ^ /root/JavaX-Caches/tmp_501774869/main.java:37: error: class, interface, or enum expected MultiSet<S> set = map.get(t); ^ /root/JavaX-Caches/tmp_501774869/main.java:38: error: class, interface, or enum expected tok.add(set == null ? t : set.getMostPopularEntry()); ^ /root/JavaX-Caches/tmp_501774869/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_501774869/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_501774869/main.java:46: error: class, interface, or enum expected Map<S, MultiSet<S>> map = new TreeMap<S, MultiSet<S>>(); ^ /root/JavaX-Caches/tmp_501774869/main.java:47: error: class, interface, or enum expected for (int i = 1; i < tok2.size(); i += 2) { ^ /root/JavaX-Caches/tmp_501774869/main.java:47: error: class, interface, or enum expected for (int i = 1; i < tok2.size(); i += 2) { ^ /root/JavaX-Caches/tmp_501774869/main.java:47: error: class, interface, or enum expected for (int i = 1; i < tok2.size(); i += 2) { ^ /root/JavaX-Caches/tmp_501774869/main.java:49: error: class, interface, or enum expected MultiSet<S> set = map.get(t1); ^ /root/JavaX-Caches/tmp_501774869/main.java:50: error: class, interface, or enum expected if (set == null) ^ /root/JavaX-Caches/tmp_501774869/main.java:52: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_501774869/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_501774869/main.java:58: error: class, interface, or enum expected } ^ 32 errors