public class FundamentalAtomicSymbol extends AbstractSymbol implements AtomicSymbol, Serializable
AlphabetManager.
This may be useful as a base-class for other Symbol implementations.Annotatable.AnnotationForwarderannotationForwarderANNOTATION| Constructor and Description |
|---|
FundamentalAtomicSymbol(String name,
Annotation annotation) |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
getAnnotation()
Should return the associated annotation object.
|
Alphabet |
getMatches()
The alphabet containing the symbols matched by this ambiguity symbol.
|
String |
getName()
The long name for the symbol.
|
List |
getSymbols()
The list of symbols that this symbol is composed from.
|
getChangeSupport, toStringaddChangeListener, addChangeListener, generateChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic FundamentalAtomicSymbol(String name, Annotation annotation)
public String getName()
Symbolpublic Alphabet getMatches()
SymbolThis 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.
getMatches in interface Symbolpublic List getSymbols()
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.
getSymbols in interface BasisSymbolpublic Annotation getAnnotation()
AnnotatablegetAnnotation in interface AnnotatableCopyright © 2014 BioJava. All rights reserved.