Class ComplementSequenceView<C extends ComplementCompound>

java.lang.Object
org.biojava.nbio.core.sequence.template.SequenceProxyView<C>
org.biojava.nbio.core.sequence.views.ComplementSequenceView<C>
Type Parameters:
C - Must be a subtype of @{link ComplementCompound} since only those support complements
All Implemented Interfaces:
Iterable<C>, Accessioned, Sequence<C>, SequenceView<C>

public class ComplementSequenceView<C extends ComplementCompound> extends SequenceProxyView<C>
For a given sequence this class will create a view over the top of it and for every request the code will return the complement of the underlying base e.g. base A will become base T
Author:
Andy Yates