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.
|
toString
public final int getDataType()
getDataType
in class CBlkWTData
DataBlk.TYPE_FLOAT
public final Object getData()
getData
in class CBlkWTData
CBlkWTData.getDataType()
public final float[] getDataFloat()
public final void setData(Object arr)
setData
in class CBlkWTData
arr
- 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 © 2015 Open Microscopy Environment