|
||||||||||
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.AbstractGrid2DSquareCell.ChunkID
public static class AbstractGrid2DSquareCell.ChunkID
A simple ChunkID class for distinguishing chunks.
Field Summary | |
---|---|
protected int |
_ChunkColIndex
For storing the chunk column index |
protected int |
_ChunkRowIndex
For storing the chunk row index |
Constructor Summary | |
---|---|
AbstractGrid2DSquareCell.ChunkID()
Default constructor. |
|
AbstractGrid2DSquareCell.ChunkID(AbstractGrid2DSquareCell.ChunkID _ChunkID)
Constructs a new ChunkID that is a clone of _ChunkID |
|
AbstractGrid2DSquareCell.ChunkID(int _NChunkCols,
int _ChunkRowIndex,
int _ChunkColIndex)
Constructs a new ChunkID |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object object)
Method required by Comparable |
boolean |
equals(java.lang.Object object)
Overrides equals in Object |
int |
getChunkColIndex()
|
int |
getChunkRowIndex()
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int _ChunkRowIndex
protected int _ChunkColIndex
Constructor Detail |
---|
public AbstractGrid2DSquareCell.ChunkID()
public AbstractGrid2DSquareCell.ChunkID(AbstractGrid2DSquareCell.ChunkID _ChunkID)
a_ChunkID
- The ChunkID to clone.public AbstractGrid2DSquareCell.ChunkID(int _NChunkCols, int _ChunkRowIndex, int _ChunkColIndex)
a_ChunkRowIndex
- the row of thea_ChunkColIndex
- the column of thenChunkCols
- The number of chunk columns (of the grid2DSquareCellAbstract).Method Detail |
---|
public int getChunkRowIndex()
public int getChunkColIndex()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
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 |