public class IntCell extends AbstractCell implements Serializable
Cell for integer data
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected int |
col |
protected int |
row |
protected int |
score |
| Constructor and Description |
|---|
IntCell(int row,
int column) |
IntCell(int row,
int column,
int 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) |
void |
setScore(double score) |
byte[] |
toByteArray() |
String |
toString() |
Cell |
transpose() |
compareTo, getResetOption, setResetOptionpublic IntCell(int row,
int column,
int score)
public IntCell(int row,
int column)
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 setScore(double score)
public 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.