class CopyYearEndPoints implements IEndPointsProcessor {

    @Override
    public void process(DataBlock in, DataBlock out) {
	for (int i = npoints - 1, j = out.getLength() - npoints; i >= 0; --i, ++j) {
	    out.set(i, out.get(i + frequency));
	    out.set(j, out.get(j - frequency));
	}
    }

    public  CopyYearEndPoints(int npoints, int freq);

}