public static class IntegerAlphabet.IntegerSymbol extends Unchangeable implements AtomicSymbol, Serializable
Annotatable.AnnotationForwarderANNOTATION| Modifier | Constructor and Description |
|---|---|
protected |
IntegerAlphabet.IntegerSymbol(int val) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Annotation |
getAnnotation()
Should return the associated annotation object.
|
Set |
getBases() |
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.
|
int |
hashCode() |
int |
intValue() |
addChangeListener, addChangeListener, addForwarder, getForwarders, getListeners, isUnchanging, removeChangeListener, removeChangeListener, removeForwarderclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerprotected IntegerAlphabet.IntegerSymbol(int val)
public Annotation getAnnotation()
AnnotatablegetAnnotation in interface Annotatablepublic String getName()
Symbolpublic int intValue()
public 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 BasisSymbolCopyright © 2014 BioJava. All rights reserved.