public interface Cell extends Comparable
Interface of cell which is the unit of a matrix
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Method and Description |
|---|---|
void |
fromByteArray(byte[] data)
Read the cell score from the byte array.
|
void |
fromString(String data)
Read the cell score from the input string
|
byte |
getByteScore() |
int |
getColumn() |
double |
getDoubleScore() |
int |
getIntScore() |
long |
getLongScore() |
boolean |
getResetOption()
If the reset option is true, the merge method replaces the cell score with the new score, otherwise adds the new score to the existing score.
|
int |
getRow() |
void |
merge(Cell cell)
Merge the score of the input cell with the current cell.
|
void |
setByteScore(byte score) |
void |
setDoubleScore(double score) |
void |
setIntScore(int score) |
void |
setLongScore(long score) |
void |
setResetOption(boolean option)
If the reset option is true, the merge method replaces the cell score with the new score, otherwise adds the new score to the existing score.
|
byte[] |
toByteArray() |
String |
toString() |
Cell |
transpose() |
compareToint getRow()
int getColumn()
Cell transpose()
byte[] toByteArray()
void fromByteArray(byte[] data)
data - the cell score in the byte-array format.String toString()
void fromString(String data)
data - the string-formatted cell datavoid setDoubleScore(double score)
double getDoubleScore()
void setLongScore(long score)
long getLongScore()
void setIntScore(int score)
int getIntScore()
void setByteScore(byte score)
byte getByteScore()
void merge(Cell cell)
cell - the input cell objectboolean getResetOption()
void setResetOption(boolean option)
option - the reset optionCopyright © 2018 JULIE Lab, Germany. All rights reserved.