|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.domain.AbstractCaArrayObject
gov.nih.nci.caarray.domain.data.AbstractDataColumn
gov.nih.nci.caarray.domain.data.DoubleColumn
public class DoubleColumn
Contains a column of double
values.
Field Summary |
---|
Fields inherited from class gov.nih.nci.caarray.domain.data.AbstractDataColumn |
---|
ERROR_NOT_INITIALIZED, SEPARATOR |
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject |
---|
DEFAULT_BATCH_SIZE, DEFAULT_STRING_COLUMN_SIZE, LARGE_TEXT_FIELD_LENGTH |
Constructor Summary | |
---|---|
DoubleColumn()
|
Method Summary | |
---|---|
double[] |
getValues()
|
java.io.Serializable |
getValuesAsArray()
Serialized values, from the DataStorageFacade. |
java.lang.String |
getValuesAsString()
|
void |
initializeArray(int numberOfValues)
Initializes this column to hold the number of values given. |
boolean |
isLoaded()
Indicates whether this column is already loaded, meaning its populated with an array of values. |
void |
setValues(double[] values)
|
void |
setValuesAsString(java.lang.String s)
Set values from a String representation. |
void |
setValuesFromArray(java.io.Serializable array)
Set the values of this column from a value array. |
Methods inherited from class gov.nih.nci.caarray.domain.data.AbstractDataColumn |
---|
getDataHandle, getHybridizationData, getQuantitationType, setDataHandle, setHybridizationData, setQuantitationType |
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject |
---|
equals, getCaBigId, getId, getPostLoadSecurityPolicies, getRemoteApiSecurityPolicies, hashCode, setCaBigId, setId, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DoubleColumn()
Method Detail |
---|
public double[] getValues()
public void setValues(double[] values)
values
- the values to setpublic java.lang.String getValuesAsString()
getValuesAsString
in class AbstractDataColumn
public void setValuesAsString(java.lang.String s)
setValuesAsString
in class AbstractDataColumn
s
- the string containing the space-separated valuespublic void setValuesFromArray(java.io.Serializable array)
setValuesFromArray
in class AbstractDataColumn
array
- the values for this column. Should be an array of the appropriate primitive or String type.public java.io.Serializable getValuesAsArray()
getValuesAsArray
in class AbstractDataColumn
public void initializeArray(int numberOfValues)
initializeArray
in class AbstractDataColumn
numberOfValues
- number of valuespublic boolean isLoaded()
isLoaded
in class AbstractDataColumn
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |