org.snapscript.common.CopyOnWriteSparseArray Maven / Gradle / Ivy
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);
}
}