All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tfw.immutable.ila.longila.AbstractStridedLongIla Maven / Gradle / Ivy

Go to download

The FrameWork for building highly scalable and maintainable applications

The newest version!
package tfw.immutable.ila.longila;

import java.io.IOException;
import tfw.immutable.ila.AbstractIla;
import tfw.immutable.ila.AbstractStridedIlaCheck;

public abstract class AbstractStridedLongIla extends AbstractIla implements StridedLongIla {
    protected abstract void getImpl(final long[] array, final int offset, final int stride, long start, int length)
            throws IOException;

    protected AbstractStridedLongIla() {}

    @Override
    public void get(final long[] array, final int offset, final int stride, final long start, int length)
            throws IOException {
        AbstractStridedIlaCheck.boundsCheck(length(), array.length, offset, stride, start, length);
        getImpl(array, offset, stride, start, length);
    }
}
// AUTO GENERATED FROM TEMPLATE




© 2015 - 2024 Weber Informatics LLC | Privacy Policy