org.snapscript.common.CopyOnWriteSparseArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap-all Show documentation
Show all versions of snap-all Show documentation
Dynamic scripting for the JVM
package org.snapscript.common;
public class CopyOnWriteSparseArray extends SparseArray {
public CopyOnWriteSparseArray(int length) {
super(length);
}
public CopyOnWriteSparseArray(int length, int block) {
super(length, block);
}
@Override
protected synchronized Object[] segment(int index) {
return super.segment(index);
}
}