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

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

/root/JavaX-Caches/tmp_1335833159/main.java:1: error: class, interface, or enum expected sclass SynchronizedFloatBufferPresentingAsDoubles is IDoubleBuffer { ^ /root/JavaX-Caches/tmp_1335833159/main.java:3: error: class, interface, or enum expected int size; ^ /root/JavaX-Caches/tmp_1335833159/main.java:5: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1335833159/main.java:6: error: class, interface, or enum expected *(int size) { if (size != 0) data = new float[size]; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:7: error: class, interface, or enum expected *(Iterable<Double> l) { addAll(l); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:8: error: class, interface, or enum expected *(Cl<Double> l) { this(l(l)); addAll(l); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:8: error: class, interface, or enum expected *(Cl<Double> l) { this(l(l)); addAll(l); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:9: error: class, interface, or enum expected *(double... data) { this.data = doubleArrayToFloatArray(data); size = l(data); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:9: error: class, interface, or enum expected *(double... data) { this.data = doubleArrayToFloatArray(data); size = l(data); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:11: error: class, interface, or enum expected public synchronized void add(double i) { ^ /root/JavaX-Caches/tmp_1335833159/main.java:14: error: class, interface, or enum expected if (size >= data.length) fail(shortClassName(this) + " too large: " + size); ^ /root/JavaX-Caches/tmp_1335833159/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:19: error: class, interface, or enum expected public synchronized void addAll(Iterable<Double> l) { ^ /root/JavaX-Caches/tmp_1335833159/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:23: error: class, interface, or enum expected public synchronized double[] toArray() { ^ /root/JavaX-Caches/tmp_1335833159/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:37: error: class, interface, or enum expected public int size() { ret SynchronizedFloatBufferPresentingAsDoubles.this.size(); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:37: error: class, interface, or enum expected public int size() { ret SynchronizedFloatBufferPresentingAsDoubles.this.size(); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:38: error: class, interface, or enum expected public Double get(int i) { ret SynchronizedFloatBufferPresentingAsDoubles.this.get(i); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:38: error: class, interface, or enum expected public Double get(int i) { ret SynchronizedFloatBufferPresentingAsDoubles.this.get(i); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:39: error: class, interface, or enum expected public Double set(int i, Double val) { ^ /root/JavaX-Caches/tmp_1335833159/main.java:42: error: class, interface, or enum expected data[i] = val.floatValue(); ^ /root/JavaX-Caches/tmp_1335833159/main.java:43: error: class, interface, or enum expected ret a; ^ /root/JavaX-Caches/tmp_1335833159/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:49: error: class, interface, or enum expected synchronized void reset { size = 0; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:50: error: class, interface, or enum expected void clear { reset(); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:52: error: class, interface, or enum expected public synchronized int size() { ret size; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:52: error: class, interface, or enum expected public synchronized int size() { ret size; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:53: error: class, interface, or enum expected public synchronized bool isEmpty() { ret size == 0; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:53: error: class, interface, or enum expected public synchronized bool isEmpty() { ret size == 0; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:55: error: class, interface, or enum expected public synchronized double get(int idx) { ^ /root/JavaX-Caches/tmp_1335833159/main.java:57: error: class, interface, or enum expected ret data[idx]; ^ /root/JavaX-Caches/tmp_1335833159/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:62: error: class, interface, or enum expected data[idx] = (float) value; ^ /root/JavaX-Caches/tmp_1335833159/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:65: error: class, interface, or enum expected public synchronized double popLast() { ^ /root/JavaX-Caches/tmp_1335833159/main.java:67: error: class, interface, or enum expected ret data[--size]; ^ /root/JavaX-Caches/tmp_1335833159/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:70: error: class, interface, or enum expected public synchronized double first() { ret data[0]; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:70: error: class, interface, or enum expected public synchronized double first() { ret data[0]; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:71: error: class, interface, or enum expected public synchronized double last() { ret data[size-1]; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:71: error: class, interface, or enum expected public synchronized double last() { ret data[size-1]; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:72: error: class, interface, or enum expected synchronized double nextToLast() { ret data[size-2]; } ^ /root/JavaX-Caches/tmp_1335833159/main.java:74: error: class, interface, or enum expected toString { ret squareBracket(joinWithSpace(toList())); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:76: error: class, interface, or enum expected public Iterator<Double> iterator() { ^ /root/JavaX-Caches/tmp_1335833159/main.java:80: error: class, interface, or enum expected public bool hasNext() { ret i < size(); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:80: error: class, interface, or enum expected public bool hasNext() { ret i < size(); } ^ /root/JavaX-Caches/tmp_1335833159/main.java:81: error: class, interface, or enum expected public Double next() { ^ /root/JavaX-Caches/tmp_1335833159/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:88: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:103: error: class, interface, or enum expected public synchronized void trimToSize { ^ /root/JavaX-Caches/tmp_1335833159/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:107: error: class, interface, or enum expected public synchronized int indexOf(double b) { ^ /root/JavaX-Caches/tmp_1335833159/main.java:111: error: class, interface, or enum expected ret -1; ^ /root/JavaX-Caches/tmp_1335833159/main.java:112: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:116: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:118: error: class, interface, or enum expected public synchronized void insertAt(int idx, double[] l) { ^ /root/JavaX-Caches/tmp_1335833159/main.java:120: error: class, interface, or enum expected if (n == 0) ret; ^ /root/JavaX-Caches/tmp_1335833159/main.java:121: error: class, interface, or enum expected float[] newData = new[size+n]; ^ /root/JavaX-Caches/tmp_1335833159/main.java:122: error: class, interface, or enum expected arraycopy(data, 0, newData, 0, idx); ^ /root/JavaX-Caches/tmp_1335833159/main.java:123: error: class, interface, or enum expected for i to n: ^ /root/JavaX-Caches/tmp_1335833159/main.java:125: error: class, interface, or enum expected arraycopy(data, idx, newData, idx+n, size-idx); ^ /root/JavaX-Caches/tmp_1335833159/main.java:126: error: class, interface, or enum expected data = newData; ^ /root/JavaX-Caches/tmp_1335833159/main.java:127: error: class, interface, or enum expected size = newData.length; ^ /root/JavaX-Caches/tmp_1335833159/main.java:128: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335833159/main.java:130: error: class, interface, or enum expected public void integrityCheck { ^ /root/JavaX-Caches/tmp_1335833159/main.java:132: error: class, interface, or enum expected assertTrue("Data length", l(data) >= size); ^ /root/JavaX-Caches/tmp_1335833159/main.java:133: error: class, interface, or enum expected } ^ 72 errors