|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.symbol.PackedSymbolListFactory
public class PackedSymbolListFactory
This class makes PackedSymbolLists. It could be refactored into the PackedSymbolList class eventually.
Constructor Summary | |
---|---|
PackedSymbolListFactory()
Create a factory for PackedSymbolLists. |
|
PackedSymbolListFactory(boolean ambiguity)
Deprecated. the argumentless constructor creates a SymbolListFactory that will autoselect the packing appropriately. |
Method Summary | |
---|---|
SymbolList |
makeSymbolList(Symbol[] symbolArray,
int size,
Alphabet alfa)
Makes a packed SymbolList out of a list of Symbols. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackedSymbolListFactory()
public PackedSymbolListFactory(boolean ambiguity)
ambiguity
- is ambiguity to be supported by the encoding?Method Detail |
---|
public SymbolList makeSymbolList(Symbol[] symbolArray, int size, Alphabet alfa) throws IllegalAlphabetException
makeSymbolList
in interface SymbolListFactory
symbolArray
- the symbols to be make in a packed SymbolListsize
- the length of the symbolArray array.alfa
- the Alphabet over which the SymbolList shoudl be
IllegalAlphabetException
- if alfa and the Symbols in
symbolArray disagree.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |