|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Column
Column implements one column in tabular data. It constains the data, name, measurement, index and class values of column.
| Constructor Summary | |
Column(int attrType,
int rowCnt)
Constructor creates array for data of the column. |
|
| Method Summary | |
int |
getClass(int rowNumber)
Returns the value of given row. |
int |
getColumnType()
Method returns the type of the column. |
double |
getDouble(int rowNumber)
Returns the value of given row. |
Index |
getIndex(int attrNo)
Method returns index on the column. |
long |
getLong(int rowNumber)
Returns the value of given row. |
double |
getMaxDouble()
Returns the maximum value of attribute. |
long |
getMaxLong()
Returns the maximum value of attribute. |
java.lang.String |
getMeasurement()
Method returns the measurement of the column. |
double |
getMinDouble()
Returns the minimum value of attribute. |
long |
getMinLong()
Returns the minimum value of attribute. |
java.lang.String |
getName()
Method returns the name of the column. |
int |
getNumberofClasses()
Method returns the number of the class values. |
java.lang.String |
getValueofClass(int classNo)
Method returns the value of a class value. |
void |
initializeClasses(int cCount)
Method creates array for class values. |
void |
setClass(int rowNumber,
int value)
Sets the value of attribute on given row. |
void |
setDouble(int rowNumber,
double value)
Sets the value of attribute on given row. |
void |
setLong(int rowNumber,
long value)
Sets the value of attribute on given row. |
void |
setMeasurement(java.lang.String value)
Method sets the measurement of the column. |
void |
setName(java.lang.String value)
Method sets the name of the column. |
void |
setValueofClass(int classNo,
java.lang.String value)
Method is used to setting the value of a class value. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Column(int attrType,
int rowCnt)
attrType - - Attribute type 0= long, 1=double, 2=classrowCnt - - The number of datarows.| Method Detail |
public Index getIndex(int attrNo)
attrNo - - The number of current attribute (column).public void initializeClasses(int cCount)
cCount - - The number of class values.public int getNumberofClasses()
public void setValueofClass(int classNo,
java.lang.String value)
classNo - - The number of the class value.value - - The corresponding text.public java.lang.String getValueofClass(int classNo)
classNo - - The number of the class value.public void setName(java.lang.String value)
value - - The name of the column.public java.lang.String getName()
public void setMeasurement(java.lang.String value)
value - - The name of the measurement of the column.public java.lang.String getMeasurement()
public int getColumnType()
public void setLong(int rowNumber,
long value)
rowNumber - - The number of the row value is added.value - - The value to be added.
public void setDouble(int rowNumber,
double value)
rowNumber - - The number of the row value is added.value - - The value to be added.
public void setClass(int rowNumber,
int value)
rowNumber - - The number of the row value is added.value - - The value to be added.public long getLong(int rowNumber)
rowNumber - - The number of the row value is added.public double getDouble(int rowNumber)
rowNumber - - The number of the row value is added.public int getClass(int rowNumber)
rowNumber - - The number of the row value is added.public long getMinLong()
public long getMaxLong()
public double getMinDouble()
public double getMaxDouble()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||