Wrote /root/JavaX-Caches/tmp_156530901/main.java - 9983 bytes (written=9983, should be 9983) 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:/root/.tinybrain/snippet-cache/1400346.jar:/root/.tinybrain/snippet-cache/1400348.jar -d /root/JavaX-Caches/tmp_1313144233 /root/JavaX-Caches/tmp_156530901/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_156530901/main.java:1: error: class, interface, or enum expected !include once #1027304 // Eclipse Collections ^ /root/JavaX-Caches/tmp_156530901/main.java:1: error: illegal character: '#' !include once #1027304 // Eclipse Collections ^ /root/JavaX-Caches/tmp_156530901/main.java:5: error: class, interface, or enum expected set flag NoModCount. // save some space. Make sure that this flag doesn't screw other collections/map you compile with this. ^ /root/JavaX-Caches/tmp_156530901/main.java:7: error: class, interface, or enum expected final sclass LineComp_PairIndex { ^ /root/JavaX-Caches/tmp_156530901/main.java:19: error: class, interface, or enum expected bool inOrder = false; ^ /root/JavaX-Caches/tmp_156530901/main.java:22: error: class, interface, or enum expected new LongObjectHashMap<Set<Node>> nodes; // key: pair, value: set of nodes in order (LinkedHashSet) ^ /root/JavaX-Caches/tmp_156530901/main.java:23: error: class, interface, or enum expected MultiSetMap<Int, IntPair> byCount // values are pairs ^ /root/JavaX-Caches/tmp_156530901/main.java:28: error: class, interface, or enum expected new LinkedHashMap<S, Ch> chains; ^ /root/JavaX-Caches/tmp_156530901/main.java:29: error: class, interface, or enum expected Ch firstChain; ^ /root/JavaX-Caches/tmp_156530901/main.java:30: error: class, interface, or enum expected int totalPairCount; ^ /root/JavaX-Caches/tmp_156530901/main.java:31: error: class, interface, or enum expected int initialNodesSetCapacity = 1; ^ /root/JavaX-Caches/tmp_156530901/main.java:32: error: class, interface, or enum expected L<IVF1<Node>> onAddingPair, onRemovingPair; ^ /root/JavaX-Caches/tmp_156530901/main.java:33: error: class, interface, or enum expected LongIntHashMap existingPairsIndex; ^ /root/JavaX-Caches/tmp_156530901/main.java:34: error: class, interface, or enum expected int nodeCounter; ^ /root/JavaX-Caches/tmp_156530901/main.java:38: error: class, interface, or enum expected new LinkedList<Node> compressionQueue; ^ /root/JavaX-Caches/tmp_156530901/main.java:41: error: class, interface, or enum expected Comparator<IntPair> pairComparatorForBalancing; ^ /root/JavaX-Caches/tmp_156530901/main.java:43: error: class, interface, or enum expected void init {} ^ /root/JavaX-Caches/tmp_156530901/main.java:46: error: not a statement Set<IntPair> _makeEmptySet() { ret new BalancedIntPairSet; ^ /root/JavaX-Caches/tmp_156530901/main.java:46: error: ';' expected Set<IntPair> _makeEmptySet() { ret new BalancedIntPairSet; ^ /root/JavaX-Caches/tmp_156530901/main.java:46: error: '(' or '[' expected Set<IntPair> _makeEmptySet() { ret new BalancedIntPairSet; ^ /root/JavaX-Caches/tmp_156530901/main.java:48: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_156530901/main.java:55: error: ';' expected ret pairComparatorForBalancing.compare(longToIntPair(a), longToIntPair(b); ^ /root/JavaX-Caches/tmp_156530901/main.java:55: error: ')' expected ret pairComparatorForBalancing.compare(longToIntPair(a), longToIntPair(b); ^ /root/JavaX-Caches/tmp_156530901/main.java:61: error: class, interface, or enum expected void haveChains { ^ /root/JavaX-Caches/tmp_156530901/main.java:67: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_156530901/main.java:69: error: class, interface, or enum expected for (Set<Node> set : nodes.values()) { ^ /root/JavaX-Caches/tmp_156530901/main.java:71: error: class, interface, or enum expected int n = set.size(); ^ /root/JavaX-Caches/tmp_156530901/main.java:72: error: class, interface, or enum expected if (verbose) print("Adding node " + p + " (" + n + ")"); ^ /root/JavaX-Caches/tmp_156530901/main.java:73: error: class, interface, or enum expected byCount.put(n, p); ^ /root/JavaX-Caches/tmp_156530901/main.java:74: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:78: error: class, interface, or enum expected print("nodes size: " + n2(guessObjectSize(nodes))); ^ /root/JavaX-Caches/tmp_156530901/main.java:79: error: class, interface, or enum expected print("PairIndex size: " + n2(guessObjectSize(this))); ^ /root/JavaX-Caches/tmp_156530901/main.java:80: error: class, interface, or enum expected printRecursiveSizeOfFields(this); ^ /root/JavaX-Caches/tmp_156530901/main.java:81: error: class, interface, or enum expected printClassLayout(Node.class); ^ /root/JavaX-Caches/tmp_156530901/main.java:81: error: <identifier> expected printClassLayout(Node.class); ^ /root/JavaX-Caches/tmp_156530901/main.java:82: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_156530901/main.java:90: error: class, interface, or enum expected *(LineComp_PairIndex pi, L<Int> l) { ^ /root/JavaX-Caches/tmp_156530901/main.java:92: error: class, interface, or enum expected fOr (int i : l) { ^ /root/JavaX-Caches/tmp_156530901/main.java:94: error: class, interface, or enum expected if (((++count) % oneMillion()) == 0) ^ /root/JavaX-Caches/tmp_156530901/main.java:96: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:101: error: class, interface, or enum expected Node node = tail; ^ /root/JavaX-Caches/tmp_156530901/main.java:102: error: class, interface, or enum expected while (node != null) { ^ /root/JavaX-Caches/tmp_156530901/main.java:104: error: class, interface, or enum expected node = node.prev; ^ /root/JavaX-Caches/tmp_156530901/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:111: error: class, interface, or enum expected n.counter = pi.nodeCounter++; ^ /root/JavaX-Caches/tmp_156530901/main.java:112: error: class, interface, or enum expected ifndef LineComp_SingleChain ^ /root/JavaX-Caches/tmp_156530901/main.java:114: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_156530901/main.java:116: error: class, interface, or enum expected n.prev = tail; ^ /root/JavaX-Caches/tmp_156530901/main.java:117: error: class, interface, or enum expected if (tail != null) tail.next = n; ^ /root/JavaX-Caches/tmp_156530901/main.java:118: error: class, interface, or enum expected tail = n; ^ /root/JavaX-Caches/tmp_156530901/main.java:119: error: class, interface, or enum expected pi.addToIndex(n.prev); ^ /root/JavaX-Caches/tmp_156530901/main.java:120: error: class, interface, or enum expected pi.processQueue(); ^ /root/JavaX-Caches/tmp_156530901/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:127: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_156530901/main.java:129: error: class, interface, or enum expected int value; ^ /root/JavaX-Caches/tmp_156530901/main.java:130: error: class, interface, or enum expected Node prev, next; ^ /root/JavaX-Caches/tmp_156530901/main.java:132: error: class, interface, or enum expected int a() { ret value; } ^ /root/JavaX-Caches/tmp_156530901/main.java:132: error: class, interface, or enum expected int a() { ret value; } ^ /root/JavaX-Caches/tmp_156530901/main.java:133: error: class, interface, or enum expected int b() { ret next == null ? -1 : next.value; } ^ /root/JavaX-Caches/tmp_156530901/main.java:134: error: class, interface, or enum expected IntPair pair() { ret next == null ? null : IntPair(a(), b()); } ^ /root/JavaX-Caches/tmp_156530901/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:142: error: class, interface, or enum expected public int hashCode() { ret counter; } ^ /root/JavaX-Caches/tmp_156530901/main.java:142: error: class, interface, or enum expected public int hashCode() { ret counter; } ^ /root/JavaX-Caches/tmp_156530901/main.java:147: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:152: error: class, interface, or enum expected if (p == null) ret; ^ /root/JavaX-Caches/tmp_156530901/main.java:153: error: class, interface, or enum expected callFAll(onAddingPair, n); ^ /root/JavaX-Caches/tmp_156530901/main.java:154: error: class, interface, or enum expected int count = nodes_getSize(p); ^ /root/JavaX-Caches/tmp_156530901/main.java:155: error: class, interface, or enum expected nodes_add(p, n); ^ /root/JavaX-Caches/tmp_156530901/main.java:156: error: class, interface, or enum expected if (byCount != null) { // not in init phase ^ /root/JavaX-Caches/tmp_156530901/main.java:158: error: class, interface, or enum expected byCount.put(count+1, p); ^ /root/JavaX-Caches/tmp_156530901/main.java:159: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:162: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:167: error: class, interface, or enum expected if (p == null) ret; ^ /root/JavaX-Caches/tmp_156530901/main.java:168: error: class, interface, or enum expected callFAll(onRemovingPair, n); ^ /root/JavaX-Caches/tmp_156530901/main.java:169: error: class, interface, or enum expected int count = nodes_getSize(p); ^ /root/JavaX-Caches/tmp_156530901/main.java:170: error: class, interface, or enum expected if (count == 0) fail("Can't remove pair " + p); ^ /root/JavaX-Caches/tmp_156530901/main.java:171: error: class, interface, or enum expected nodes_remove(p, n); ^ /root/JavaX-Caches/tmp_156530901/main.java:172: error: class, interface, or enum expected byCount.remove(count, p); ^ /root/JavaX-Caches/tmp_156530901/main.java:173: error: class, interface, or enum expected if (--count > 0) byCount.put(count, p); ^ /root/JavaX-Caches/tmp_156530901/main.java:174: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:179: error: class, interface, or enum expected ret toInt(key) < 2 ? null : byCount.get(key); ^ /root/JavaX-Caches/tmp_156530901/main.java:180: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:184: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:188: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:192: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:197: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:201: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:205: error: class, interface, or enum expected Set<Node> set = nodes.get(intPairToLong(p)); ^ /root/JavaX-Caches/tmp_156530901/main.java:206: error: class, interface, or enum expected if (set != null) ^ /root/JavaX-Caches/tmp_156530901/main.java:209: error: class, interface, or enum expected replacePair(n, replaceWith); ^ /root/JavaX-Caches/tmp_156530901/main.java:210: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_156530901/main.java:215: error: class, interface, or enum expected removeFromIndex(node); ^ /root/JavaX-Caches/tmp_156530901/main.java:216: error: class, interface, or enum expected removeFromIndex(node.next); ^ /root/JavaX-Caches/tmp_156530901/main.java:217: error: class, interface, or enum expected node.value = replaceWith; ^ /root/JavaX-Caches/tmp_156530901/main.java:218: error: class, interface, or enum expected deleteNode(node.next); ^ /root/JavaX-Caches/tmp_156530901/main.java:219: error: class, interface, or enum expected addToIndex(node.prev); ^ /root/JavaX-Caches/tmp_156530901/main.java:220: error: class, interface, or enum expected addToIndex(node); ^ /root/JavaX-Caches/tmp_156530901/main.java:221: error: class, interface, or enum expected processQueue(); ^ /root/JavaX-Caches/tmp_156530901/main.java:222: error: class, interface, or enum expected } ^ 100 errors only showing the first 100 errors, of 144 total; use -Xmaxerrs if you would like to see more