|
||||||||||
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.AbstractGrid2DSquareCellChunk.ChunkCellID
public class AbstractGrid2DSquareCellChunk.ChunkCellID
A simple ChunkCellID class for distinguishing cells in this chunk.
Field Summary | |
---|---|
protected int |
chunkCellColIndex
For storing the column in which the cell is positioned |
protected int |
chunkCellRowIndex
For storing the row in which the cell is positioned |
Constructor Summary | |
---|---|
protected |
AbstractGrid2DSquareCellChunk.ChunkCellID()
Constructs a new ChunkCellID |
protected |
AbstractGrid2DSquareCellChunk.ChunkCellID(int chunkCellRowIndex,
int chunkCellColIndex)
Constructs a new ChunkCellID |
protected |
AbstractGrid2DSquareCellChunk.ChunkCellID(int _ChunkNCols,
int chunkCellRowIndex,
int chunkCellColIndex)
Constructs a new ChunkCellID |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object object)
Method required by Comparable |
boolean |
equals(java.lang.Object object)
Overrides equals in Object |
long |
getChunkCellColIndex()
Returns chunkCellColIndex of this CellID |
long |
getChunkCellRowIndex()
Returns chunkCellRowIndex of this CellID |
int |
hashCode()
|
java.lang.String |
toString()
Returns a description of this CellID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int chunkCellRowIndex
protected int chunkCellColIndex
Constructor Detail |
---|
protected AbstractGrid2DSquareCellChunk.ChunkCellID()
protected AbstractGrid2DSquareCellChunk.ChunkCellID(int chunkCellRowIndex, int chunkCellColIndex)
chunkCellRowIndex
- the row of the cellchunkCellColIndex
- the column of the cellprotected AbstractGrid2DSquareCellChunk.ChunkCellID(int _ChunkNCols, int chunkCellRowIndex, int chunkCellColIndex)
chunkCellRowIndex
- the row of the cellchunkCellColIndex
- the column of the cell_ChunkNCols
- the number of columns in the chunkMethod Detail |
---|
public long getChunkCellRowIndex()
public long getChunkCellColIndex()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |