public class SimpleFeatureTableRow extends Object implements FeatureTableRow
Constructor and Description |
---|
SimpleFeatureTableRow(FeatureTable featureTable)
Constructor for SimpleFeatureTableRow.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCharge()
Return the charge of this row
|
Feature |
getFeature(Integer index)
Return feature assigned to this row
|
Feature |
getFeature(Sample sample)
Return feature assigned to this row
|
FeatureTable |
getFeatureTable()
Returns the feature table where this feature table row belongs.
|
Double |
getMz()
Shortcut to return the m/z column value of this row
|
Float |
getRT()
Shortcut to return the m/z column value of this row
|
void |
setCharge(Integer charge)
Setter for the field
charge . |
void |
setFeature(Sample sample,
Feature feature)
setFeature.
|
public SimpleFeatureTableRow(@Nonnull FeatureTable featureTable)
Constructor for SimpleFeatureTableRow.
featureTable
- a FeatureTable
object.@Nonnull public FeatureTable getFeatureTable()
getFeatureTable
in interface FeatureTableRow
public Double getMz()
getMz
in interface FeatureTableRow
public Float getRT()
getRT
in interface FeatureTableRow
public Integer getCharge()
getCharge
in interface FeatureTableRow
public void setCharge(@Nullable Integer charge)
Setter for the field charge
.
charge
- a Integer
object.public Feature getFeature(Sample sample)
getFeature
in interface FeatureTableRow
sample
- a Sample
object.Feature
object.public Feature getFeature(Integer index)
getFeature
in interface FeatureTableRow
index
- a Integer
object.Feature
object.Copyright © 2019. All rights reserved.