public class ExtraFloatParser extends Object
Modifier and Type | Field and Description |
---|---|
private String |
id |
private int |
valueIndex |
Constructor and Description |
---|
ExtraFloatParser(String id,
int valueIndex)
Creates a new extra value parser.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get the external id of the extra value type.
|
float |
getValue(FlatFileParser.Data data,
int firstIndex)
Get the extra value from the data.
|
private final String id
private final int valueIndex
public ExtraFloatParser(String id, int valueIndex)
id
- The external id of the extra value typevalueIndex
- The index of the extra value column
relative the first column of assay datapublic String getId()
public float getValue(FlatFileParser.Data data, int firstIndex)
data
- The current data linefirstIndex
- The index of the first data column that contains data
for the current bioassay