public class CBlkWTDataFloat extends CBlkWTData
The methods in this class are declared final, so that they can be inlined by inlining compilers.
CBlkWTData| Modifier and Type | Field and Description |
|---|---|
float[] |
data
The array where the data is stored
|
| Constructor and Description |
|---|
CBlkWTDataFloat() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getData()
Returns the array containing the data, or null if there is no
data array.
|
float[] |
getDataFloat()
Returns the array containing the data, or null if there is no
data array.
|
int |
getDataType()
Returns the identifier of this data type, TYPE_FLOAT,
as defined in DataBlk.
|
void |
setData(Object arr)
Sets the data array to the specified one.
|
void |
setDataFloat(float[] arr)
Sets the data array to the specified one.
|
toStringpublic final int getDataType()
getDataType in class CBlkWTDataDataBlk.TYPE_FLOATpublic final Object getData()
getData in class CBlkWTDataCBlkWTData.getDataType()public final float[] getDataFloat()
public final void setData(Object arr)
setData in class CBlkWTDataarr - The data array to use. Must be a float array.CBlkWTData.getDataType()public final void setDataFloat(float[] arr)
arr - The data array to use.Copyright © 2014 Open Microscopy Environment