Class SmartSequenceBuilder

java.lang.Object
org.biojava.bio.seq.io.SequenceBuilderBase
org.biojava.bio.seq.io.SmartSequenceBuilder
All Implemented Interfaces:
SeqIOListener, SequenceBuilder

Basic SequenceBuilder implementation which accumulates all notified information and chooses a sequence implementation suited to the size of the sequence. This may or may not bit-encode the symbols (using PackedSymbolList), and may or may not store the symbols in multiple fixed-length chunks (using ChunkedSymbolList).

More functionality is offered by SimpleRichSequenceBuilder, Use of this class is prefered.

Author:
David Huen, Matthew Pocock