jaligner
Class Cell
java.lang.Object
jaligner.Cell
- public class Cell
- extends java.lang.Object
A cell in a similarity matrix, to hold row, column and score.
- Author:
- Ahmed Moustafa (ahmed@users.sf.net)
Constructor Summary |
Cell()
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cell
public Cell()
- Constructor
getCol
public int getCol()
- Returns:
- Returns the col.
setCol
public void setCol(int col)
- Parameters:
col
- The col to set.
getRow
public int getRow()
- Returns:
- Returns the row.
setRow
public void setRow(int row)
- Parameters:
row
- The row to set.
getScore
public float getScore()
- Returns:
- Returns the score.
setScore
public void setScore(float score)
- Parameters:
score
- The score to set.
set
public void set(int row,
int col,
float score)
- Sets the row, column and score of the cell.
- Parameters:
row
- The row to set.col
- The col to set.score
- The score to set.