Class BitSequenceReader<C extends Compound>

java.lang.Object
org.biojava.nbio.core.sequence.storage.BitSequenceReader<C>
Type Parameters:
C - Type of compound; must extend NucleotideCompound
All Implemented Interfaces:
Iterable<C>, Accessioned, ProxySequenceReader<C>, Sequence<C>, SequenceReader<C>
Direct Known Subclasses:
FourBitSequenceReader, TwoBitSequenceReader

public class BitSequenceReader<C extends Compound> extends Object implements ProxySequenceReader<C>
An implementation of the popular bit encodings. This class provides the Sequence view over what is actually carried out in the BitSequenceReader.BitArrayWorker instances. These are the objects that carry out array storage as well as indexing into those arrays. New bit encodings can be written by extending this class and a worker class. There are a number of issues with this type of storage engine:
Author:
ayates