|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.Unchangeable
org.biojava.bio.symbol.IntegerAlphabet.IntegerSymbol
public static class IntegerAlphabet.IntegerSymbol
A single int value.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable |
---|
Annotatable.AnnotationForwarder |
Field Summary |
---|
Fields inherited from interface org.biojava.bio.Annotatable |
---|
ANNOTATION |
Constructor Summary | |
---|---|
protected |
IntegerAlphabet.IntegerSymbol(int val)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.biojava.utils.Unchangeable |
---|
addChangeListener, addChangeListener, addForwarder, getForwarders, getListeners, isUnchanging, removeChangeListener, removeChangeListener, removeForwarder |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.biojava.utils.Changeable |
---|
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
Constructor Detail |
---|
protected IntegerAlphabet.IntegerSymbol(int val)
Method Detail |
---|
public Annotation getAnnotation()
Annotatable
getAnnotation
in interface Annotatable
public String getName()
Symbol
getName
in interface Symbol
public int intValue()
public Alphabet getMatches()
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.
getMatches
in interface Symbol
public List getSymbols()
BasisSymbol
The 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 BasisSymbol
public Set getBases()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |