public class DoubleCell extends AbstractCell implements Serializable
The cell object for handling double data
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected int |
col |
protected int |
row |
protected double |
score |
| Constructor and Description |
|---|
DoubleCell(int row,
int column) |
DoubleCell(int row,
int column,
double score) |
| 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() |
static int |
getCellDataLength() |
int |
getColumn() |
double |
getDoubleScore() |
int |
getIntScore() |
long |
getLongScore() |
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) |
byte[] |
toByteArray() |
String |
toString() |
Cell |
transpose() |
compareTo, getResetOption, setResetOptionpublic DoubleCell(int row,
int column)
public DoubleCell(int row,
int column,
double score)
public static int getCellDataLength()
public void merge(Cell cell)
Cellpublic byte[] toByteArray()
toByteArray in interface Cellpublic void fromByteArray(byte[] data)
CellfromByteArray in interface Celldata - the cell score in the byte-array format.public String toString()
public void fromString(String data)
CellfromString in interface Celldata - the string-formatted cell datapublic Cell transpose()
public double getDoubleScore()
getDoubleScore in interface Cellpublic int getIntScore()
getIntScore in interface Cellpublic long getLongScore()
getLongScore in interface Cellpublic byte getByteScore()
getByteScore in interface Cellpublic void setDoubleScore(double score)
setDoubleScore in interface Cellpublic void setIntScore(int score)
setIntScore in interface Cellpublic void setLongScore(long score)
setLongScore in interface Cellpublic void setByteScore(byte score)
setByteScore in interface CellCopyright © 2018 JULIE Lab, Germany. All rights reserved.