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

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

/root/JavaX-Caches/tmp_1641350886/main.java:1: error: class, interface, or enum expected sclass TripleIndex extends VirtualNodeIndex { ^ /root/JavaX-Caches/tmp_1641350886/main.java:3: error: class, interface, or enum expected bool activated; // are we the main index (see tripleIndex()) ^ /root/JavaX-Caches/tmp_1641350886/main.java:6: error: class, interface, or enum expected SyncListMultiMap<Symbol, TripleWeb> index;// = symbolSyncListMultiMap(); ^ /root/JavaX-Caches/tmp_1641350886/main.java:9: error: class, interface, or enum expected MultiSet<Symbol> wordIndex = ^ /root/JavaX-Caches/tmp_1641350886/main.java:14: error: class, interface, or enum expected SyncListMultiMap<Symbol, TripleWeb>[] positionalIndices = new SyncListMultiMap[] { ^ /root/JavaX-Caches/tmp_1641350886/main.java:20: error: class, interface, or enum expected ExactTripleIndex exactIndex = useExactIndex ? exactTripleIndex() : null; ^ /root/JavaX-Caches/tmp_1641350886/main.java:23: error: class, interface, or enum expected new CompactHashSet<TripleWeb> websByID; ^ /root/JavaX-Caches/tmp_1641350886/main.java:26: error: class, interface, or enum expected Map<Symbol, SyncListMultiMap<Symbol, TripleWeb>> oneTwoIndex; // = (Map) symbolMap(); ^ /root/JavaX-Caches/tmp_1641350886/main.java:28: error: class, interface, or enum expected SyncListMultiMap<Pair<Symbol>, TripleWeb> oneTwoIndex2 = new SyncListMultiMap(new CompactPairKeyHashMap); // try compact version ^ /root/JavaX-Caches/tmp_1641350886/main.java:30: error: class, interface, or enum expected int size() { ret numWebs(); } ^ /root/JavaX-Caches/tmp_1641350886/main.java:30: error: class, interface, or enum expected int size() { ret numWebs(); } ^ /root/JavaX-Caches/tmp_1641350886/main.java:31: error: class, interface, or enum expected int numWebs() { ret l(websByID); } ^ /root/JavaX-Caches/tmp_1641350886/main.java:32: error: class, interface, or enum expected int numTerms() { ret index != null ? index.keysSize() : wordIndex.uniqueSize(); } ^ /root/JavaX-Caches/tmp_1641350886/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:47: error: class, interface, or enum expected Collection<Symbol> indexedTerms() { ret mainKeys(); } ^ /root/JavaX-Caches/tmp_1641350886/main.java:52: error: class, interface, or enum expected L<TripleWeb> triples = index != null ? index.get(query) ^ /root/JavaX-Caches/tmp_1641350886/main.java:54: error: class, interface, or enum expected ret ai_triplesToWebNodes_lazyList(query, triples); ^ /root/JavaX-Caches/tmp_1641350886/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:66: error: class, interface, or enum expected ret ai_triplesToTripleRefs_lazyList(query, index.get(query)); ^ /root/JavaX-Caches/tmp_1641350886/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:71: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:76: error: class, interface, or enum expected ret index.get(query); ^ /root/JavaX-Caches/tmp_1641350886/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:85: error: class, interface, or enum expected ret index != null ? index.containsKey(s) : wordIndex.contains(s); } ^ /root/JavaX-Caches/tmp_1641350886/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:97: error: class, interface, or enum expected TripleWeb w = ai_webToTripleWeb(web); ^ /root/JavaX-Caches/tmp_1641350886/main.java:98: error: class, interface, or enum expected if (w == null) ^ /root/JavaX-Caches/tmp_1641350886/main.java:100: error: class, interface, or enum expected addTriple(w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:105: error: class, interface, or enum expected if (index != null) ^ /root/JavaX-Caches/tmp_1641350886/main.java:108: error: class, interface, or enum expected if (wordIndex != null) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:110: error: class, interface, or enum expected wordIndex.add(w.b); ^ /root/JavaX-Caches/tmp_1641350886/main.java:111: error: class, interface, or enum expected wordIndex.add(w.c); ^ /root/JavaX-Caches/tmp_1641350886/main.java:112: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:114: error: class, interface, or enum expected positionalIndices[1].put(w.b, w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:115: error: class, interface, or enum expected positionalIndices[2].put(w.c, w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:116: error: class, interface, or enum expected if (exactIndex != null) exactIndex.add(w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:117: error: class, interface, or enum expected if (oneTwoIndex != null) synchronized(oneTwoIndex) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:119: error: class, interface, or enum expected if (map == null) oneTwoIndex.put(w.a, map = symbolSyncListMultiMap()); ^ /root/JavaX-Caches/tmp_1641350886/main.java:120: error: class, interface, or enum expected map.put(w.b, w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:123: error: class, interface, or enum expected websByID.add(w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:124: error: class, interface, or enum expected if (activated) ^ /root/JavaX-Caches/tmp_1641350886/main.java:126: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:131: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:135: error: class, interface, or enum expected for (TripleWeb w : l) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:137: error: class, interface, or enum expected mm.put(ai_shortenForIndex(w.b), w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:138: error: class, interface, or enum expected mm.put(ai_shortenForIndex(w.c), w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:139: error: class, interface, or enum expected removeFromSets(w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:143: error: class, interface, or enum expected if (index != null) indexRemoveMulti(index, term, webs); ^ /root/JavaX-Caches/tmp_1641350886/main.java:144: error: class, interface, or enum expected for i to 3: ^ /root/JavaX-Caches/tmp_1641350886/main.java:146: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:150: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:155: error: class, interface, or enum expected if (exactIndex != null) exactIndex.remove(w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:156: error: class, interface, or enum expected if (oneTwoIndex != null) synchronized(oneTwoIndex) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:158: error: class, interface, or enum expected if (map != null) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:160: error: class, interface, or enum expected if (empty(map)) oneTwoIndex.remove(w.a); ^ /root/JavaX-Caches/tmp_1641350886/main.java:161: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:164: error: class, interface, or enum expected if (wordIndex != null) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:166: error: class, interface, or enum expected wordIndex.remove(w.b); ^ /root/JavaX-Caches/tmp_1641350886/main.java:167: error: class, interface, or enum expected wordIndex.remove(w.c); ^ /root/JavaX-Caches/tmp_1641350886/main.java:168: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:173: error: class, interface, or enum expected removeFromSets(w); ^ /root/JavaX-Caches/tmp_1641350886/main.java:174: error: class, interface, or enum expected GlobalID id = w.globalID(); ^ /root/JavaX-Caches/tmp_1641350886/main.java:175: error: class, interface, or enum expected indexRemove(0, ai_shortenForIndex(w.a), id); ^ /root/JavaX-Caches/tmp_1641350886/main.java:176: error: class, interface, or enum expected indexRemove(1, ai_shortenForIndex(w.b), id); ^ /root/JavaX-Caches/tmp_1641350886/main.java:177: error: class, interface, or enum expected indexRemove(2, ai_shortenForIndex(w.c), id); ^ /root/JavaX-Caches/tmp_1641350886/main.java:178: error: class, interface, or enum expected if (activated) ^ /root/JavaX-Caches/tmp_1641350886/main.java:180: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:185: error: class, interface, or enum expected indexRemove2(positionalIndices[position], term, globalID); ^ /root/JavaX-Caches/tmp_1641350886/main.java:186: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:191: error: class, interface, or enum expected for i over l: ^ /root/JavaX-Caches/tmp_1641350886/main.java:194: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_1641350886/main.java:195: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:201: error: class, interface, or enum expected synchronized(l) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:203: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:208: error: class, interface, or enum expected if (wordIndex != null) wordIndex.clear(); ^ /root/JavaX-Caches/tmp_1641350886/main.java:209: error: class, interface, or enum expected websByID.clear(); ^ /root/JavaX-Caches/tmp_1641350886/main.java:210: error: class, interface, or enum expected if (exactIndex != null) exactIndex.clear(); ^ /root/JavaX-Caches/tmp_1641350886/main.java:211: error: class, interface, or enum expected if (oneTwoIndex != null) oneTwoIndex.clear(); ^ /root/JavaX-Caches/tmp_1641350886/main.java:212: error: class, interface, or enum expected if (oneTwoIndex2 != null) oneTwoIndex2.clear(); ^ /root/JavaX-Caches/tmp_1641350886/main.java:213: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:218: error: class, interface, or enum expected ai_onNewOrRemovedWeb(func(Web web) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:220: error: class, interface, or enum expected false; ^ /root/JavaX-Caches/tmp_1641350886/main.java:221: error: class, interface, or enum expected }, func(Web web) { ^ /root/JavaX-Caches/tmp_1641350886/main.java:223: error: class, interface, or enum expected false; ^ /root/JavaX-Caches/tmp_1641350886/main.java:224: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1641350886/main.java:225: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:228: error: class, interface, or enum expected Collection<TripleWeb> allTriples() { ret websByID; } ^ /root/JavaX-Caches/tmp_1641350886/main.java:232: error: class, interface, or enum expected for i to 3: trimToSizeAll(positionalIndices[i].allLists()); ^ /root/JavaX-Caches/tmp_1641350886/main.java:233: error: class, interface, or enum expected for (SyncListMultiMap<Symbol, TripleWeb> map : values(oneTwoIndex)) trimToSizeAll(map.allLists()); ^ /root/JavaX-Caches/tmp_1641350886/main.java:234: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1641350886/main.java:238: error: class, interface, or enum expected for i to 3: sortLists(positionalIndices[i].allLists()); ^ /root/JavaX-Caches/tmp_1641350886/main.java:239: error: class, interface, or enum expected for (SyncListMultiMap<Symbol, TripleWeb> map : values(oneTwoIndex)) sortLists(map.allLists()); ^ /root/JavaX-Caches/tmp_1641350886/main.java:240: error: class, interface, or enum expected } ^ 100 errors only showing the first 100 errors, of 103 total; use -Xmaxerrs if you would like to see more