Assembly: BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)
Syntax
C# |
---|
public class SimpleSymbolList : AbstractSymbolList, IChangeListener |
Remarks
This is currently backed by a normal Java array.
SimpleSymbolList is now editable. edit() has been implemented in a way that edits are relatively inefficient, but symbolAt() is very efficient.
A new constructor SimpleSymbolList(SymbolParser,String) has
been added so you can now simply turn a String into a SymbolList.
This is mostly to provide a simple way to create a SymbolList for
people just trying to get their feet wet. So here is an example.
TBD - BioJava example is dated
With the right parser you should be able to make a protein sequence from the String "AspAlaValIleAsp"
subList() is implemented such that subLists are views of the original until such time as the underlying SymbolList is edited in a way that would modify the subList, at which point the subList gets its own array of Symbols and does not reflect the edit to the original. When subList() is called on another subList (which is a veiw SimpleSymbolList) the new SimpleSymbolList is a view of the original, not the subList.
Original BioJava version by Thomas Down, David Waring, David Huen (another constructor), and George Waldon. Port to C# by Doug Swisher.
Inheritance Hierarchy
BioSharp.Core.Utils..::.AbstractChangeable
BioSharp.Core.Bio.Symbol..::.AbstractSymbolList
BioSharp.Core.Bio.Symbol..::.SimpleSymbolList