Class QuantityFeature<S extends AbstractSequence<C>,C extends Compound> 
java.lang.Object
org.biojava.nbio.core.sequence.features.AbstractFeature<S,C>
 
org.biojava.nbio.core.sequence.features.QuantityFeature<S,C> 
- All Implemented Interfaces:
 FeatureInterface<S,C> 
public class QuantityFeature<S extends AbstractSequence<C>,C extends Compound> 
extends AbstractFeature<S,C> 
It is common to have a numerical value or values associated with a feature. This can then
 be used in heat maps or other visual indicators when viewing a sequence. Multiple quantities
 could represent a time corse study and display a color gradient
- Author:
 - Scooter Willis
 
- 
Field Summary
Fields inherited from class org.biojava.nbio.core.sequence.features.AbstractFeature
LENGTH, LOCATION_LENGTH, TYPE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddQuantity(Number value) voidsetQuantities(List<Number> quantities) Methods inherited from class org.biojava.nbio.core.sequence.features.AbstractFeature
addQualifier, getChildrenFeatures, getDescription, getLocations, getParentFeature, getQualifiers, getShortDescription, getSource, getType, getUserObject, setChildrenFeatures, setDescription, setLocation, setParentFeature, setQualifiers, setShortDescription, setSource, setType, setUserObject 
- 
Constructor Details
- 
QuantityFeature
- Parameters:
 type-source-
 
 - 
 - 
Method Details
- 
addQuantity
- Parameters:
 value-
 - 
getQuantities
- Returns:
 - the quantities
 
 - 
setQuantities
- Parameters:
 quantities- the quantities to set
 
 -