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

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

/root/JavaX-Caches/tmp_1738742135/main.java:3: error: class, interface, or enum expected sclass MultiSetMap<A, B>is IMultiMap<A, B> { ^ /root/JavaX-Caches/tmp_1738742135/main.java:5: error: class, interface, or enum expected int size; // number of values ^ /root/JavaX-Caches/tmp_1738742135/main.java:7: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1738742135/main.java:8: error: class, interface, or enum expected *(bool useTreeMap) { if (useTreeMap) data = new TreeMap; } ^ /root/JavaX-Caches/tmp_1738742135/main.java:9: error: class, interface, or enum expected *(MultiSetMap<A, B> map) { putAll(map); } ^ /root/JavaX-Caches/tmp_1738742135/main.java:14: error: class, interface, or enum expected if (set == null) ^ /root/JavaX-Caches/tmp_1738742135/main.java:16: error: class, interface, or enum expected if (!set.add(value)) false; ^ /root/JavaX-Caches/tmp_1738742135/main.java:17: error: class, interface, or enum expected ret true with ++size; ^ /root/JavaX-Caches/tmp_1738742135/main.java:18: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:20: error: class, interface, or enum expected bool add(A key, B value) { ret put(key, value); } ^ /root/JavaX-Caches/tmp_1738742135/main.java:24: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:29: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:34: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:38: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:43: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:48: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:50: error: class, interface, or enum expected public Set<B> get(A key) { synchronized(data) { ^ /root/JavaX-Caches/tmp_1738742135/main.java:52: error: class, interface, or enum expected return set == null ? Collections.<B> emptySet() : set; ^ /root/JavaX-Caches/tmp_1738742135/main.java:53: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:57: error: class, interface, or enum expected remove(key); ^ /root/JavaX-Caches/tmp_1738742135/main.java:58: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_1738742135/main.java:59: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:64: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:70: error: class, interface, or enum expected if (set == null) ^ /root/JavaX-Caches/tmp_1738742135/main.java:72: error: class, interface, or enum expected ret set; ^ /root/JavaX-Caches/tmp_1738742135/main.java:73: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:78: error: class, interface, or enum expected if (list != null && list.isEmpty()) ^ /root/JavaX-Caches/tmp_1738742135/main.java:80: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:82: error: class, interface, or enum expected public Set<A> keySet aka keys() { synchronized(data) { ^ /root/JavaX-Caches/tmp_1738742135/main.java:84: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:88: error: class, interface, or enum expected data.remove(key); ^ /root/JavaX-Caches/tmp_1738742135/main.java:89: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:93: error: class, interface, or enum expected if (set != null) { ^ /root/JavaX-Caches/tmp_1738742135/main.java:96: error: class, interface, or enum expected if (set.isEmpty()) ^ /root/JavaX-Caches/tmp_1738742135/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1738742135/main.java:104: error: class, interface, or enum expected size = 0; ^ /root/JavaX-Caches/tmp_1738742135/main.java:105: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:109: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:113: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:115: error: class, interface, or enum expected void addAll(MultiSetMap<A, B> map) { putAll(map); } ^ /root/JavaX-Caches/tmp_1738742135/main.java:120: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:125: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:127: error: class, interface, or enum expected public int keysSize aka keyCount() { synchronized(data) { ret l(data); }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:127: error: class, interface, or enum expected public int keysSize aka keyCount() { synchronized(data) { ret l(data); }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:130: error: class, interface, or enum expected public int size() { synchronized(data) { ^ /root/JavaX-Caches/tmp_1738742135/main.java:132: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:135: error: class, interface, or enum expected int getSize(A key) { ret l(data.get(key)); } ^ /root/JavaX-Caches/tmp_1738742135/main.java:136: error: class, interface, or enum expected int count(A key) { ret getSize(key); } ^ /root/JavaX-Caches/tmp_1738742135/main.java:141: error: class, interface, or enum expected for (A key : data.keySet()) ^ /root/JavaX-Caches/tmp_1738742135/main.java:144: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_1738742135/main.java:145: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:152: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_1738742135/main.java:153: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:157: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:159: error: class, interface, or enum expected public bool isEmpty() { synchronized(data) { ret data.isEmpty(); }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:159: error: class, interface, or enum expected public bool isEmpty() { synchronized(data) { ret data.isEmpty(); }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:164: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1738742135/main.java:169: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1738742135/main.java:174: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1738742135/main.java:178: error: class, interface, or enum expected for (A a, Set<B> set : data) ^ /root/JavaX-Caches/tmp_1738742135/main.java:181: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_1738742135/main.java:182: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:184: error: class, interface, or enum expected O mutex() { ret data; } ^ /root/JavaX-Caches/tmp_1738742135/main.java:186: error: class, interface, or enum expected toString { ret "mm" + str(data); } ^ /root/JavaX-Caches/tmp_1738742135/main.java:190: error: class, interface, or enum expected Map.Entry<A, Set<B>> entry = data.entrySet().iterator().next(); ^ /root/JavaX-Caches/tmp_1738742135/main.java:191: error: class, interface, or enum expected ret pair(entry.getKey(), first(entry.getValue())); ^ /root/JavaX-Caches/tmp_1738742135/main.java:192: error: class, interface, or enum expected }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:194: error: class, interface, or enum expected A firstKey() { synchronized(data) { ret main firstKey(data); }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:195: error: class, interface, or enum expected A lastKey() { synchronized(data) { ret (A) ((NavigableMap) data).lastKey(); }} ^ /root/JavaX-Caches/tmp_1738742135/main.java:197: error: class, interface, or enum expected A higherKey(O a) { synchronized(data) { ret (A) ((NavigableMap) data).higherKey(a); }} ^ 70 errors