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

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

/root/JavaX-Caches/tmp_1926550958/main.java:27: error: class, interface, or enum expected sclass CustomCompactHashSet<A> extends AbstractSet<A> { ^ /root/JavaX-Caches/tmp_1926550958/main.java:28: error: class, interface, or enum expected protected final static int INITIAL_SIZE = 3; ^ /root/JavaX-Caches/tmp_1926550958/main.java:29: error: class, interface, or enum expected protected final static double LOAD_FACTOR = 0.75; ^ /root/JavaX-Caches/tmp_1926550958/main.java:31: error: class, interface, or enum expected protected final static Object nullObject = new Object(); ^ /root/JavaX-Caches/tmp_1926550958/main.java:32: error: class, interface, or enum expected protected final static Object deletedObject = new Object(); ^ /root/JavaX-Caches/tmp_1926550958/main.java:33: error: class, interface, or enum expected protected int elements; ^ /root/JavaX-Caches/tmp_1926550958/main.java:34: error: class, interface, or enum expected protected int freecells; ^ /root/JavaX-Caches/tmp_1926550958/main.java:35: error: class, interface, or enum expected protected A[] objects; ^ /root/JavaX-Caches/tmp_1926550958/main.java:36: error: class, interface, or enum expected protected int modCount; ^ /root/JavaX-Caches/tmp_1926550958/main.java:37: error: class, interface, or enum expected Hasher<A> hasher; // optional ^ /root/JavaX-Caches/tmp_1926550958/main.java:39: error: class, interface, or enum expected *() { ^ /root/JavaX-Caches/tmp_1926550958/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:47: error: class, interface, or enum expected elements = 0; ^ /root/JavaX-Caches/tmp_1926550958/main.java:48: error: class, interface, or enum expected freecells = objects.length; ^ /root/JavaX-Caches/tmp_1926550958/main.java:49: error: class, interface, or enum expected modCount = 0; ^ /root/JavaX-Caches/tmp_1926550958/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:54: error: class, interface, or enum expected addAll(c); ^ /root/JavaX-Caches/tmp_1926550958/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:59: error: class, interface, or enum expected this.hasher = hasher; ^ /root/JavaX-Caches/tmp_1926550958/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:63: error: class, interface, or enum expected public Iterator<A> iterator() { ^ /root/JavaX-Caches/tmp_1926550958/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:68: error: class, interface, or enum expected public int size() { ^ /root/JavaX-Caches/tmp_1926550958/main.java:70: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:73: error: class, interface, or enum expected public boolean isEmpty() { ^ /root/JavaX-Caches/tmp_1926550958/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:78: error: class, interface, or enum expected public boolean contains(Object o) { ^ /root/JavaX-Caches/tmp_1926550958/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:85: error: class, interface, or enum expected int hash = elementHashCode(o); ^ /root/JavaX-Caches/tmp_1926550958/main.java:86: error: class, interface, or enum expected int index = (hash & 0x7FFFFFFF) % objects.length; ^ /root/JavaX-Caches/tmp_1926550958/main.java:87: error: class, interface, or enum expected int offset = 1; ^ /root/JavaX-Caches/tmp_1926550958/main.java:90: error: class, interface, or enum expected while(objects[index] != null && ^ /root/JavaX-Caches/tmp_1926550958/main.java:94: error: class, interface, or enum expected offset = offset*2 + 1; ^ /root/JavaX-Caches/tmp_1926550958/main.java:96: error: class, interface, or enum expected if (offset == -1) ^ /root/JavaX-Caches/tmp_1926550958/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:105: error: class, interface, or enum expected if (value == o) { ^ /root/JavaX-Caches/tmp_1926550958/main.java:107: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1926550958/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:110: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:113: error: class, interface, or enum expected synchronized public boolean add(Object o) { ^ /root/JavaX-Caches/tmp_1926550958/main.java:116: error: class, interface, or enum expected int hash = elementHashCode(o); ^ /root/JavaX-Caches/tmp_1926550958/main.java:117: error: class, interface, or enum expected int index = (hash & 0x7FFFFFFF) % objects.length; ^ /root/JavaX-Caches/tmp_1926550958/main.java:118: error: class, interface, or enum expected int offset = 1; ^ /root/JavaX-Caches/tmp_1926550958/main.java:119: error: class, interface, or enum expected int deletedix = -1; ^ /root/JavaX-Caches/tmp_1926550958/main.java:122: error: class, interface, or enum expected while(objects[index] != null && ^ /root/JavaX-Caches/tmp_1926550958/main.java:131: error: class, interface, or enum expected index = ((index + offset) & 0x7FFFFFFF) % objects.length; ^ /root/JavaX-Caches/tmp_1926550958/main.java:132: error: class, interface, or enum expected offset = offset*2 + 1; ^ /root/JavaX-Caches/tmp_1926550958/main.java:134: error: class, interface, or enum expected if (offset == -1) ^ /root/JavaX-Caches/tmp_1926550958/main.java:136: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:141: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1926550958/main.java:144: error: class, interface, or enum expected modCount++; ^ /root/JavaX-Caches/tmp_1926550958/main.java:145: error: class, interface, or enum expected elements++; ^ /root/JavaX-Caches/tmp_1926550958/main.java:153: error: class, interface, or enum expected objects[index] = (A) o; ^ /root/JavaX-Caches/tmp_1926550958/main.java:156: error: class, interface, or enum expected if (1 - (freecells / (double) objects.length) > LOAD_FACTOR) ^ /root/JavaX-Caches/tmp_1926550958/main.java:158: error: class, interface, or enum expected return true; ^ /root/JavaX-Caches/tmp_1926550958/main.java:159: error: class, interface, or enum expected } else // was there already ^ /root/JavaX-Caches/tmp_1926550958/main.java:161: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:164: error: class, interface, or enum expected synchronized public boolean remove(Object o) { ^ /root/JavaX-Caches/tmp_1926550958/main.java:167: error: class, interface, or enum expected int hash = elementHashCode(o); ^ /root/JavaX-Caches/tmp_1926550958/main.java:168: error: class, interface, or enum expected int index = (hash & 0x7FFFFFFF) % objects.length; ^ /root/JavaX-Caches/tmp_1926550958/main.java:169: error: class, interface, or enum expected int offset = 1; ^ /root/JavaX-Caches/tmp_1926550958/main.java:172: error: class, interface, or enum expected while(objects[index] != null && ^ /root/JavaX-Caches/tmp_1926550958/main.java:176: error: class, interface, or enum expected offset = offset*2 + 1; ^ /root/JavaX-Caches/tmp_1926550958/main.java:178: error: class, interface, or enum expected if (offset == -1) ^ /root/JavaX-Caches/tmp_1926550958/main.java:180: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:188: error: class, interface, or enum expected modCount++; ^ /root/JavaX-Caches/tmp_1926550958/main.java:189: error: class, interface, or enum expected elements--; ^ /root/JavaX-Caches/tmp_1926550958/main.java:190: error: class, interface, or enum expected return true; ^ /root/JavaX-Caches/tmp_1926550958/main.java:191: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_1926550958/main.java:194: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:197: error: class, interface, or enum expected synchronized public void clear() { ^ /root/JavaX-Caches/tmp_1926550958/main.java:199: error: class, interface, or enum expected for (int ix = 0; ix < objects.length; ix++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:199: error: class, interface, or enum expected for (int ix = 0; ix < objects.length; ix++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:199: error: class, interface, or enum expected for (int ix = 0; ix < objects.length; ix++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:201: error: class, interface, or enum expected freecells = objects.length; ^ /root/JavaX-Caches/tmp_1926550958/main.java:202: error: class, interface, or enum expected modCount++; ^ /root/JavaX-Caches/tmp_1926550958/main.java:203: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:206: error: class, interface, or enum expected synchronized public Object[] toArray() { ^ /root/JavaX-Caches/tmp_1926550958/main.java:208: error: class, interface, or enum expected Object[] objects = this.objects; ^ /root/JavaX-Caches/tmp_1926550958/main.java:209: error: class, interface, or enum expected int pos = 0; ^ /root/JavaX-Caches/tmp_1926550958/main.java:210: error: class, interface, or enum expected for (int i = 0; i < objects.length; i++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:210: error: class, interface, or enum expected for (int i = 0; i < objects.length; i++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:210: error: class, interface, or enum expected for (int i = 0; i < objects.length; i++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:214: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1926550958/main.java:216: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:219: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:223: error: class, interface, or enum expected synchronized public <T> T[] toArray(T[] a) { ^ /root/JavaX-Caches/tmp_1926550958/main.java:225: error: class, interface, or enum expected if (a.length < size) ^ /root/JavaX-Caches/tmp_1926550958/main.java:228: error: class, interface, or enum expected A[] objects = this.objects; ^ /root/JavaX-Caches/tmp_1926550958/main.java:229: error: class, interface, or enum expected int pos = 0; ^ /root/JavaX-Caches/tmp_1926550958/main.java:230: error: class, interface, or enum expected for (int i = 0; i < objects.length; i++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:230: error: class, interface, or enum expected for (int i = 0; i < objects.length; i++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:230: error: class, interface, or enum expected for (int i = 0; i < objects.length; i++) ^ /root/JavaX-Caches/tmp_1926550958/main.java:234: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1926550958/main.java:236: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:238: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1926550958/main.java:242: error: class, interface, or enum expected if (gargagecells / (double) objects.length > 0.05) ^ /root/JavaX-Caches/tmp_1926550958/main.java:245: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1926550958/main.java:248: error: class, interface, or enum expected } ^ 100 errors only showing the first 100 errors, of 121 total; use -Xmaxerrs if you would like to see more