Class ReversedSequenceView<C extends Compound>

  • Type Parameters:
    C - Must be a subtype of @{link Compound}
    All Implemented Interfaces:
    Iterable<C>, Accessioned, Sequence<C>, SequenceView<C>

    public class ReversedSequenceView<C extends Compound>
    extends SequenceProxyView<C>
    For a given sequence this class will return the base at the reversed position i.e. in a sequence of size 10, if you request base 2 you will get back the base at position 9. Sub-views can be made of this class which also respect the reversed calls.
    Author:
    Andy Yates