Package org.biojava.bio.symbol
Class DoubleAlphabet.DoubleRange
- java.lang.Object
- 
- org.biojava.utils.Unchangeable
- 
- org.biojava.bio.symbol.DoubleAlphabet.DoubleRange
 
 
- 
- All Implemented Interfaces:
- Serializable,- Annotatable,- BasisSymbol,- Symbol,- Changeable
 - Enclosing class:
- DoubleAlphabet
 
 public static class DoubleAlphabet.DoubleRange extends Unchangeable implements BasisSymbol, Serializable A range of double values. Get these viaDoubleAlphabet.getSymbol(double, double).- Author:
- Matthew Pocock
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.biojava.bio.AnnotatableAnnotatable.AnnotationForwarder
 
- 
 - 
Field Summary- 
Fields inherited from interface org.biojava.bio.AnnotatableANNOTATION
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedDoubleRange(double minVal, double maxVal)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationgetAnnotation()Should return the associated annotation object.AlphabetgetMatches()The alphabet containing the symbols matched by this ambiguity symbol.doublegetMaxValue()doublegetMinValue()StringgetName()The long name for the symbol.ListgetSymbols()The list of symbols that this symbol is composed from.- 
Methods inherited from class org.biojava.utils.UnchangeableaddChangeListener, addChangeListener, addForwarder, getForwarders, getListeners, isUnchanging, removeChangeListener, removeChangeListener, removeForwarder
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.biojava.utils.ChangeableaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
 
- 
 
- 
- 
- 
Constructor Detail- 
DoubleRangeprotected DoubleRange(double minVal, double maxVal) 
 
- 
 - 
Method Detail- 
getAnnotationpublic Annotation getAnnotation() Description copied from interface:AnnotatableShould return the associated annotation object.- Specified by:
- getAnnotationin interface- Annotatable
- Returns:
- an Annotation object, never null
 
 - 
getNamepublic String getName() Description copied from interface:SymbolThe long name for the symbol.
 - 
getMatchespublic Alphabet getMatches() Description copied from interface:SymbolThe alphabet containing the symbols matched by this ambiguity symbol.This alphabet contains all of, and only, the symbols matched by this symbol. For example, the symbol representing the DNA ambiguity code for W would contain the symbol for A and T from the DNA alphabet. - Specified by:
- getMatchesin interface- Symbol
- Returns:
- the Alphabet of symbols matched by this symbol
 
 - 
getSymbolspublic List getSymbols() Description copied from interface:BasisSymbolThe list of symbols that this symbol is composed from. In the usual case, this list will contain just this single symbol. In the case where a symbol represents an ordered combination of other symbols, the list will contain each of these BasisSymbols. - Specified by:
- getSymbolsin interface- BasisSymbol
- Returns:
- the List of Symbols that this Symbol is built from
 
 - 
getMinValuepublic double getMinValue() 
 - 
getMaxValuepublic double getMaxValue() 
 
- 
 
-