|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCellFactory
public abstract class AbstractGrid2DSquareCellFactory
Abstract class to be extended by all AbstractGrid2DSquareCell factories.
Field Summary | |
---|---|
protected int |
_ChunkNCols
The number of columns in a chunk. |
protected int |
_ChunkNRows
The number of rows in a chunk. |
protected java.math.BigDecimal[] |
_Dimensions
The Dimensions |
protected java.io.File |
_Directory
A _Directory for swapping. |
protected Grids_Environment |
_Grids_Environment
|
protected boolean |
_HandleOutOfMemoryError
_HandleOutOfMemoryError |
Constructor Summary | |
---|---|
AbstractGrid2DSquareCellFactory()
|
Method Summary | |
---|---|
AbstractGrid2DSquareCell |
create()
|
AbstractGrid2DSquareCell |
create(AbstractGrid2DSquareCell _Grid2DSquareCell)
|
AbstractGrid2DSquareCell |
create(AbstractGrid2DSquareCell grid2DSquareCell,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex)
|
AbstractGrid2DSquareCell |
create(java.io.File gridFile)
|
AbstractGrid2DSquareCell |
create(java.io.File _Directory,
AbstractGrid2DSquareCell grid2DSquareCell,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex)
|
abstract AbstractGrid2DSquareCell |
create(java.io.File _Directory,
AbstractGrid2DSquareCell grid2DSquareCell,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
Grids_Environment _Grids_Environment,
boolean handleOutOfMemoryError)
|
AbstractGrid2DSquareCell |
create(java.io.File _Directory,
java.io.File gridFile,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex)
|
abstract AbstractGrid2DSquareCell |
create(java.io.File _Directory,
java.io.File gridFile,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
Grids_Environment _Grids_Environment,
boolean handleOutOfMemoryError)
|
AbstractGrid2DSquareCell |
create(java.io.File _Directory,
java.io.File gridFile,
java.io.ObjectInputStream ois)
|
abstract AbstractGrid2DSquareCell |
create(java.io.File _Directory,
java.io.File gridFile,
java.io.ObjectInputStream ois,
Grids_Environment _Grids_Environment,
boolean handleOutOfMemoryError)
|
AbstractGrid2DSquareCell |
create(java.io.File directory,
long _NRows,
long _NCols)
|
AbstractGrid2DSquareCell |
create(java.io.File _Directory,
long _NRows,
long _NCols,
java.math.BigDecimal[] _Dimensions)
|
abstract AbstractGrid2DSquareCell |
create(java.io.File _Directory,
long _NRows,
long _NCols,
java.math.BigDecimal[] dimensions,
Grids_Environment _Grids_Environment,
boolean handleOutOfMemoryError)
|
AbstractGrid2DSquareCell |
create(long _NRows,
long _NCols)
|
AbstractGrid2DSquareCell |
create(long _NRows,
long _NCols,
java.math.BigDecimal[] _Dimensions)
|
int |
get_ChunkNCols()
Returns a copy of this._ChunkNCols. |
int |
get_ChunkNRows()
Returns a copy of this._ChunkNRows. |
java.math.BigDecimal[] |
get_Dimensions()
Returns this._Dimensions |
protected java.io.File |
get_Directory()
Returns a copy of this._Directory. |
java.io.File |
get_Directory(boolean handleOutOfMemoryError)
Returns a copy of this._Directory. |
AbstractGridStatistics |
get_GridStatistics()
Returns this._GridStatistics |
protected boolean |
gethandleOutOfMemoryError()
Returns this._HandleOutOfMemoryError |
void |
set_ChunkNCols(int _ChunkNCols)
Sets this._ChunkNCols to _ChunkNCols |
void |
set_ChunkNRows(int _ChunkNRows)
Sets this._ChunkNRows to _ChunkNRows |
void |
set_Dimensions(java.math.BigDecimal[] _Dimensions)
Sets this._Dimensions to _Dimensions |
void |
set_Directory(java.io.File _Directory)
Sets this._Directory to _Directory. |
void |
set_GridStatistics(AbstractGridStatistics _GridStatistics)
Sets this._GridStatistics to _GridStatistics |
void |
sethandleOutOfMemoryError(boolean handleOutOfMemoryError)
Sets this._HandleOutOfMemoryError to _HandleOutOfMemoryError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Grids_Environment _Grids_Environment
protected java.io.File _Directory
protected int _ChunkNRows
protected int _ChunkNCols
protected java.math.BigDecimal[] _Dimensions
protected boolean _HandleOutOfMemoryError
Constructor Detail |
---|
public AbstractGrid2DSquareCellFactory()
Method Detail |
---|
protected java.io.File get_Directory()
public java.io.File get_Directory(boolean handleOutOfMemoryError)
public void set_Directory(java.io.File _Directory)
public int get_ChunkNRows()
public void set_ChunkNRows(int _ChunkNRows)
public int get_ChunkNCols()
public void set_ChunkNCols(int _ChunkNCols)
public java.math.BigDecimal[] get_Dimensions()
public void set_Dimensions(java.math.BigDecimal[] _Dimensions)
public AbstractGridStatistics get_GridStatistics()
public void set_GridStatistics(AbstractGridStatistics _GridStatistics)
protected boolean gethandleOutOfMemoryError()
public void sethandleOutOfMemoryError(boolean handleOutOfMemoryError)
public AbstractGrid2DSquareCell create()
public AbstractGrid2DSquareCell create(long _NRows, long _NCols)
_NRows
- The _NRows for the construct._NCols
- The _NCols for the construct.
public AbstractGrid2DSquareCell create(java.io.File directory, long _NRows, long _NCols)
_NRows
- The _NRows for the construct._NCols
- The _NCols for the construct.
public AbstractGrid2DSquareCell create(long _NRows, long _NCols, java.math.BigDecimal[] _Dimensions)
_NRows
- The _NRows for the construct._NCols
- The _NCols for the construct._Dimensions
- The cellsize and bounding box details for the construct.
public AbstractGrid2DSquareCell create(java.io.File _Directory, long _NRows, long _NCols, java.math.BigDecimal[] _Dimensions)
_Directory
- The _Directory for swapping to file._NRows
- The _NRows for the construct._NCols
- The _NCols for the construct._Dimensions
- The cellsize and bounding box details for the construct.
public abstract AbstractGrid2DSquareCell create(java.io.File _Directory, long _NRows, long _NCols, java.math.BigDecimal[] dimensions, Grids_Environment _Grids_Environment, boolean handleOutOfMemoryError)
_Directory
- The _Directory for swapping to file._NRows
- The _NRows for the construct._NCols
- The _NCols for the construct._AbstractGrid2DSquareCell_HashSet
- A HashSet of swappable AbstractGrid2DSquareCell
instances._HandleOutOfMemoryError
- If true then OutOfMemoryErrors are caught
in this method then swap operations are initiated prior to retrying.
If false then OutOfMemoryErrors are caught and thrown.
public AbstractGrid2DSquareCell create(AbstractGrid2DSquareCell _Grid2DSquareCell)
_Grid2DSquareCell
- The AbstractGrid2DSquareCell from which values
are obtained.
public AbstractGrid2DSquareCell create(AbstractGrid2DSquareCell grid2DSquareCell, long startRowIndex, long startColIndex, long endRowIndex, long endColIndex)
grid2DSquareCell
- The AbstractGrid2DSquareCell from which values
are obtained.startRowIndex
- The topmost row index of grid2DSquareCell thats
values are used.startColIndex
- The leftmost column index of grid2DSquareCell thats
values are used.endRowIndex
- The bottom row index of the grid2DSquareCell thats
values are used.endColIndex
- The rightmost column index of grid2DSquareCell thats
values are used.
public AbstractGrid2DSquareCell create(java.io.File _Directory, AbstractGrid2DSquareCell grid2DSquareCell, long startRowIndex, long startColIndex, long endRowIndex, long endColIndex)
_Directory
- The _Directory to be used for storing data in files.
Grid2DSquareCellInt information.grid2DSquareCell
- The AbstractGrid2DSquareCell from which values
are obtained.startRowIndex
- The topmost row index of grid2DSquareCell thats
values are used.startColIndex
- The leftmost column index of grid2DSquareCell thats
values are used.endRowIndex
- The bottom row index of the grid2DSquareCell thats
values are used.endColIndex
- The rightmost column index of grid2DSquareCell thats
values are used.
public abstract AbstractGrid2DSquareCell create(java.io.File _Directory, AbstractGrid2DSquareCell grid2DSquareCell, long startRowIndex, long startColIndex, long endRowIndex, long endColIndex, Grids_Environment _Grids_Environment, boolean handleOutOfMemoryError)
_Directory
- The _Directory to be used for storing data in files.grid2DSquareCell
- The AbstractGrid2DSquareCell from which values
are obtained.startRowIndex
- The topmost row index of grid2DSquareCell thats
values are used.startColIndex
- The leftmost column index of grid2DSquareCell thats
values are used.endRowIndex
- The bottom row index of the grid2DSquareCell thats
values are used.endColIndex
- The rightmost column index of grid2DSquareCell thats
values are used._AbstractGrid2DSquareCell_HashSet
- A HashSet of swappable AbstractGrid2DSquareCell
instances._HandleOutOfMemoryError
- If true then OutOfMemoryErrors are caught
in this method then swap operations are initiated prior to retrying.
If false then OutOfMemoryErrors are caught and thrown.
public AbstractGrid2DSquareCell create(java.io.File gridFile)
gridFile
- either a _Directory, or a formatted File with a specific
extension containing the data and information about the
AbstractGrid2DSquareCell to be returned.
public AbstractGrid2DSquareCell create(java.io.File _Directory, java.io.File gridFile, long startRowIndex, long startColIndex, long endRowIndex, long endColIndex)
_Directory
- The _Directory to be used for storing cached
Grid2DSquareCellInt information.gridFile
- either a _Directory, or a formatted File with a specific
extension containing the data and information about the
AbstractGrid2DSquareCell to be returned.startRowIndex
- The topmost row index of the grid represented in
gridFile thats values are used.startColIndex
- The leftmost column index of the grid represented in
gridFile thats values are used.endRowIndex
- The bottom row index of the grid represented in
gridFile thats values are used.endColIndex
- The rightmost column index of the grid represented in
gridFile thats values are used.
Default:
_AbstractGrid2DSquareCell_HashSet to null;
_HandleOutOfMemoryError to true.
public abstract AbstractGrid2DSquareCell create(java.io.File _Directory, java.io.File gridFile, long startRowIndex, long startColIndex, long endRowIndex, long endColIndex, Grids_Environment _Grids_Environment, boolean handleOutOfMemoryError)
_Directory
- The _Directory to be used for storing cached
Grid2DSquareCellInt information.gridFile
- either a _Directory, or a formatted File with a specific
extension containing the data and information about the
AbstractGrid2DSquareCell to be returned.startRowIndex
- The topmost row index of the grid represented in
gridFile thats values are used.startColIndex
- The leftmost column index of the grid represented in
gridFile thats values are used.endRowIndex
- The bottom row index of the grid represented in
gridFile thats values are used.endColIndex
- The rightmost column index of the grid represented in
gridFile thats values are used._AbstractGrid2DSquareCell_HashSet
- A HashSet of swappable AbstractGrid2DSquareCell
instances._HandleOutOfMemoryError
- If true then OutOfMemoryErrors are caught
in this method then swap operations are initiated prior to retrying.
If false then OutOfMemoryErrors are caught and thrown.
public AbstractGrid2DSquareCell create(java.io.File _Directory, java.io.File gridFile, java.io.ObjectInputStream ois)
_Directory
- The _Directory for swapping to file.gridFile
- A file containing the data to be used in construction.ois
- The ObjectInputStream to construct from.
public abstract AbstractGrid2DSquareCell create(java.io.File _Directory, java.io.File gridFile, java.io.ObjectInputStream ois, Grids_Environment _Grids_Environment, boolean handleOutOfMemoryError)
_Directory
- The _Directory for swapping to file.gridFile
- A file containing the data to be used in construction.ois
- The ObjectInputStream to construct from._AbstractGrid2DSquareCell_HashSet
- A HashSet of swappable AbstractGrid2DSquareCell
instances._HandleOutOfMemoryError
- If true then OutOfMemoryErrors are caught
in this method then swap operations are initiated prior to retrying.
If false then OutOfMemoryErrors are caught and thrown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |