|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.molbio.Composition
public class Composition
Computes composition statistics about a SymbolList
.
Essentially a conveniece wrapper around a Distribution.
Constructor Summary | |
---|---|
Composition()
|
Method Summary | |
---|---|
Distribution |
getDistribution()
Returns the distribution backing this class. |
void |
setSymbolList(SymbolList symbolList)
Set the SymbolList to calculation the composition of. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Composition()
Method Detail |
---|
public void setSymbolList(SymbolList symbolList) throws IllegalSymbolException
SymbolList
to calculation the composition of.
symbolList
- a SymbolList
from the DNA Alphabet.
IllegalSymbolException
- if symbolList
is not DNA.public Distribution getDistribution()
Distribution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |