Abstract helper implementation of the SymbolList core interface.

Namespace:  BioSharp.Core.Bio.Symbol
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (


public abstract class AbstractSymbolList : AbstractChangeable, 
	ISymbolList, IChangeable


To produce a concrete ISymbolList implementation, you need only implement the Alphabet, Length and SymbolAt methods. Iterators and sublists are handled for you automatically.

This class makes many custom ISymbolList implementations very quick to implement.

To make a mutable ISymbolList, override the implementation of edit to perform the apropriate edit. If your implementation of ISymbolList is a view onto an underlying ISymbolList, then you must forward any apropriate edit requests to that list, and forward all events from the underlying list to your listeners.

Original BioJava version by Thomas Down and Matthew Pocock. Port to C# by Doug Swisher.

Inheritance Hierarchy

See Also