Wrote /root/JavaX-Caches/tmp_66046104/main.java - 3517 bytes (written=3517, should be 3517)
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_796613556 /root/JavaX-Caches/tmp_66046104/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_66046104/main.java:3: error: class, interface, or enum expected
final sclass TokenIndexedList3 extends RandomAccessAbstractList implements IContentsIndexedList, IContentsIndexedList2 {
^
/root/JavaX-Caches/tmp_66046104/main.java:4: error: class, interface, or enum expected
final new HashMap> index; // tokens by contents, sorted by index
^
/root/JavaX-Caches/tmp_66046104/main.java:5: error: class, interface, or enum expected
final new ArrayList list;
^
/root/JavaX-Caches/tmp_66046104/main.java:6: error: class, interface, or enum expected
int reorderFrom = 0;
^
/root/JavaX-Caches/tmp_66046104/main.java:8: error: class, interface, or enum expected
final sclass Token extends HasIndex {
^
/root/JavaX-Caches/tmp_66046104/main.java:11: error: class, interface, or enum expected
toString { ret "Token " + quote(s) + "@" + idx; }
^
/root/JavaX-Caches/tmp_66046104/main.java:11: error: class, interface, or enum expected
toString { ret "Token " + quote(s) + "@" + idx; }
^
/root/JavaX-Caches/tmp_66046104/main.java:15: error: class, interface, or enum expected
*(Collection l) { addAll(l); }
^
/root/JavaX-Caches/tmp_66046104/main.java:17: error: class, interface, or enum expected
public S get(int i) { ret list.get(i).s; }
^
/root/JavaX-Caches/tmp_66046104/main.java:17: error: class, interface, or enum expected
public S get(int i) { ret list.get(i).s; }
^
/root/JavaX-Caches/tmp_66046104/main.java:18: error: class, interface, or enum expected
public int size() { ret list.size(); }
^
/root/JavaX-Caches/tmp_66046104/main.java:18: error: class, interface, or enum expected
public int size() { ret list.size(); }
^
/root/JavaX-Caches/tmp_66046104/main.java:20: error: class, interface, or enum expected
public S set(int i, S s) {
^
/root/JavaX-Caches/tmp_66046104/main.java:22: error: class, interface, or enum expected
S old = t.s;
^
/root/JavaX-Caches/tmp_66046104/main.java:23: error: class, interface, or enum expected
if (eq(old, s)) ret old;
^
/root/JavaX-Caches/tmp_66046104/main.java:24: error: class, interface, or enum expected
removeFromIdx(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:25: error: class, interface, or enum expected
t.s = s;
^
/root/JavaX-Caches/tmp_66046104/main.java:26: error: class, interface, or enum expected
addToIdx(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:27: error: class, interface, or enum expected
ret old;
^
/root/JavaX-Caches/tmp_66046104/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:30: error: class, interface, or enum expected
public bool add(S s) {
^
/root/JavaX-Caches/tmp_66046104/main.java:32: error: class, interface, or enum expected
new Token t;
^
/root/JavaX-Caches/tmp_66046104/main.java:33: error: class, interface, or enum expected
t.s = s;
^
/root/JavaX-Caches/tmp_66046104/main.java:34: error: class, interface, or enum expected
t.idx = size();
^
/root/JavaX-Caches/tmp_66046104/main.java:35: error: class, interface, or enum expected
list.add(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:36: error: class, interface, or enum expected
addToIdx(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:37: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_66046104/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:40: error: class, interface, or enum expected
public void add(int i, S s) {
^
/root/JavaX-Caches/tmp_66046104/main.java:42: error: class, interface, or enum expected
new Token t;
^
/root/JavaX-Caches/tmp_66046104/main.java:43: error: class, interface, or enum expected
t.s = s;
^
/root/JavaX-Caches/tmp_66046104/main.java:44: error: class, interface, or enum expected
t.idx = i;
^
/root/JavaX-Caches/tmp_66046104/main.java:45: error: class, interface, or enum expected
list.add(i, t);
^
/root/JavaX-Caches/tmp_66046104/main.java:46: error: class, interface, or enum expected
reorder(i+1);
^
/root/JavaX-Caches/tmp_66046104/main.java:47: error: class, interface, or enum expected
addToIdx(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:50: error: class, interface, or enum expected
public bool addAll(int i, Collection extends S> l) {
^
/root/JavaX-Caches/tmp_66046104/main.java:52: error: class, interface, or enum expected
if (n == 0) false;
^
/root/JavaX-Caches/tmp_66046104/main.java:53: error: class, interface, or enum expected
++modCount;
^
/root/JavaX-Caches/tmp_66046104/main.java:54: error: class, interface, or enum expected
L l2 = emptyList(n);
^
/root/JavaX-Caches/tmp_66046104/main.java:55: error: class, interface, or enum expected
int j = i;
^
/root/JavaX-Caches/tmp_66046104/main.java:56: error: class, interface, or enum expected
for (S s : l) {
^
/root/JavaX-Caches/tmp_66046104/main.java:58: error: class, interface, or enum expected
t.s = s;
^
/root/JavaX-Caches/tmp_66046104/main.java:59: error: class, interface, or enum expected
t.idx = j++;
^
/root/JavaX-Caches/tmp_66046104/main.java:60: error: class, interface, or enum expected
l2.add(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:61: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:63: error: class, interface, or enum expected
reorder(i+n);
^
/root/JavaX-Caches/tmp_66046104/main.java:64: error: class, interface, or enum expected
for (Token t : l2)
^
/root/JavaX-Caches/tmp_66046104/main.java:66: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_66046104/main.java:67: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:69: error: class, interface, or enum expected
public S remove(int i) {
^
/root/JavaX-Caches/tmp_66046104/main.java:71: error: class, interface, or enum expected
Token t = list.get(i);
^
/root/JavaX-Caches/tmp_66046104/main.java:72: error: class, interface, or enum expected
removeFromIdx(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:73: error: class, interface, or enum expected
list.remove(i);
^
/root/JavaX-Caches/tmp_66046104/main.java:74: error: class, interface, or enum expected
reorder(i);
^
/root/JavaX-Caches/tmp_66046104/main.java:75: error: class, interface, or enum expected
ret t.s;
^
/root/JavaX-Caches/tmp_66046104/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:80: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:84: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:89: error: class, interface, or enum expected
for (int i = reorderFrom; i <= to; i++)
^
/root/JavaX-Caches/tmp_66046104/main.java:89: error: class, interface, or enum expected
for (int i = reorderFrom; i <= to; i++)
^
/root/JavaX-Caches/tmp_66046104/main.java:89: error: class, interface, or enum expected
for (int i = reorderFrom; i <= to; i++)
^
/root/JavaX-Caches/tmp_66046104/main.java:91: error: class, interface, or enum expected
reorderFrom = to;
^
/root/JavaX-Caches/tmp_66046104/main.java:92: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:96: error: class, interface, or enum expected
idx.remove(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:97: error: class, interface, or enum expected
if (idx.isEmpty()) index.remove(t.s);
^
/root/JavaX-Caches/tmp_66046104/main.java:98: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:102: error: class, interface, or enum expected
if (idx == null)
^
/root/JavaX-Caches/tmp_66046104/main.java:104: error: class, interface, or enum expected
idx.add(t);
^
/root/JavaX-Caches/tmp_66046104/main.java:105: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:108: error: class, interface, or enum expected
public int indexOf(O s) {
^
/root/JavaX-Caches/tmp_66046104/main.java:110: error: class, interface, or enum expected
if (l == null) ret -1;
^
/root/JavaX-Caches/tmp_66046104/main.java:111: error: class, interface, or enum expected
Token t = first(l);
^
/root/JavaX-Caches/tmp_66046104/main.java:112: error: class, interface, or enum expected
ensureReorderedTo(t.idx);
^
/root/JavaX-Caches/tmp_66046104/main.java:113: error: class, interface, or enum expected
ret t.idx;
^
/root/JavaX-Caches/tmp_66046104/main.java:114: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:117: error: class, interface, or enum expected
public int lastIndexOf(O s) {
^
/root/JavaX-Caches/tmp_66046104/main.java:119: error: class, interface, or enum expected
ret l == null ? -1 : last(l).idx;
^
/root/JavaX-Caches/tmp_66046104/main.java:120: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:123: error: class, interface, or enum expected
public bool contains(O s) {
^
/root/JavaX-Caches/tmp_66046104/main.java:125: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:127: error: class, interface, or enum expected
public void clear() {
^
/root/JavaX-Caches/tmp_66046104/main.java:129: error: class, interface, or enum expected
index.clear();
^
/root/JavaX-Caches/tmp_66046104/main.java:130: error: class, interface, or enum expected
list.clear();
^
/root/JavaX-Caches/tmp_66046104/main.java:131: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:135: error: class, interface, or enum expected
++modCount;
^
/root/JavaX-Caches/tmp_66046104/main.java:137: error: class, interface, or enum expected
for (int i = fromIndex; i < toIndex; i++)
^
/root/JavaX-Caches/tmp_66046104/main.java:137: error: class, interface, or enum expected
for (int i = fromIndex; i < toIndex; i++)
^
/root/JavaX-Caches/tmp_66046104/main.java:137: error: class, interface, or enum expected
for (int i = fromIndex; i < toIndex; i++)
^
/root/JavaX-Caches/tmp_66046104/main.java:140: error: class, interface, or enum expected
list.subList(fromIndex, toIndex).clear();
^
/root/JavaX-Caches/tmp_66046104/main.java:141: error: class, interface, or enum expected
reorder(fromIndex);
^
/root/JavaX-Caches/tmp_66046104/main.java:142: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:144: error: class, interface, or enum expected
public int[] indicesOf(O o) {
^
/root/JavaX-Caches/tmp_66046104/main.java:146: error: class, interface, or enum expected
if (idx == null) ret emptyIntArray();
^
/root/JavaX-Caches/tmp_66046104/main.java:147: error: class, interface, or enum expected
int[] a = new int[idx.size()];
^
/root/JavaX-Caches/tmp_66046104/main.java:148: error: class, interface, or enum expected
int i = 0;
^
/root/JavaX-Caches/tmp_66046104/main.java:149: error: class, interface, or enum expected
for (Token t : idx) a[i++] = t.idx;
^
/root/JavaX-Caches/tmp_66046104/main.java:150: error: class, interface, or enum expected
ret a;
^
/root/JavaX-Caches/tmp_66046104/main.java:151: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_66046104/main.java:153: error: class, interface, or enum expected
public TreeSet indicesOf_treeSetOfHasIndex(O o) {
^
100 errors
only showing the first 100 errors, of 101 total; use -Xmaxerrs if you would like to see more