tfw.immutable.ila.intila.AbstractIntIla Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tfw Show documentation
Show all versions of tfw Show documentation
The FrameWork for building highly scalable and maintainable applications
The newest version!
package tfw.immutable.ila.intila;
import java.io.IOException;
import tfw.immutable.ila.AbstractIla;
public abstract class AbstractIntIla extends AbstractIla implements IntIla {
protected abstract void getImpl(final int[] array, int offset, long start, int length) throws IOException;
protected AbstractIntIla() {}
@Override
public final void get(final int[] array, final int offset, final long start, int length) throws IOException {
if (length == 0) {
return;
}
boundsCheck(array.length, offset, start, length);
getImpl(array, offset, start, length);
}
}
// AUTO GENERATED FROM TEMPLATE