public class ExtraFloatParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id |
private int |
valueIndex |
Constructor and Description |
---|
ExtraFloatParser(java.lang.String id,
int valueIndex)
Creates a new extra value parser.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
public ExtraFloatParser(java.lang.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 java.lang.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