/** * Version 1.0 is to handle single variable 2DSquareCelled raster data. * Copyright (C) 2005 Andy Turner, CCG, University of Leeds, UK. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ package uk.ac.leeds.ccg.andyt.grids.core; import uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCell.ChunkID; /** * A factory for constructing Grid2DSquareCellIntChunkJAI instances. */ public class Grid2DSquareCellIntChunkJAIFactory extends AbstractGrid2DSquareCellIntChunkFactory { /** * Creates a new Grid2DSquareCellIntChunkJAIFactory. */ public Grid2DSquareCellIntChunkJAIFactory(){} @Override public AbstractGrid2DSquareCellIntChunk createGrid2DSquareCellIntChunk() { return new Grid2DSquareCellIntChunkJAI(); } @Override public AbstractGrid2DSquareCellIntChunk createGrid2DSquareCellIntChunk( Grid2DSquareCellInt grid2DSquareCellInt, ChunkID chunkID) { return new Grid2DSquareCellIntChunkJAI( grid2DSquareCellInt, chunkID ); } @Override public AbstractGrid2DSquareCellIntChunk createGrid2DSquareCellIntChunk( AbstractGrid2DSquareCellIntChunk grid2DSquareCellIntChunk, ChunkID chunkID) { return new Grid2DSquareCellIntChunkJAI( grid2DSquareCellIntChunk, chunkID ); } }