JAligner

jaligner
Class Cell

java.lang.Object
  extended byjaligner.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
 
Method Summary
 int getCol()
           
 int getRow()
           
 float getScore()
           
 void set(int row, int col, float score)
          Sets the row, column and score of the cell.
 void setCol(int col)
           
 void setRow(int row)
           
 void setScore(float score)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cell

public Cell()
Constructor

Method Detail

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.

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)