tfw.immutable.ilm.intilm.AbstractStridedIntIlm 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.ilm.intilm;
import java.io.IOException;
import tfw.immutable.ilm.AbstractIlm;
import tfw.immutable.ilm.AbstractStridedIlmCheck;
public abstract class AbstractStridedIntIlm extends AbstractIlm implements StridedIntIlm {
protected abstract void getImpl(
int[] array,
int offset,
int rowStride,
int colStride,
long rowStart,
long colStart,
int rowCount,
int colCount)
throws IOException;
protected AbstractStridedIntIlm() {}
@Override
public final void get(
int[] array,
int offset,
int rowStride,
int colStride,
long rowStart,
long colStart,
int rowCount,
int colCount)
throws IOException {
AbstractStridedIlmCheck.boundsCheck(
width(), height(), array.length, offset, rowStride, colStride, rowStart, colStart, rowCount, colCount);
getImpl(array, offset, rowStride, colStride, rowStart, colStart, rowCount, colCount);
}
}
// AUTO GENERATED FROM TEMPLATE