Class Edit.Substitute<C extends Compound>

  • All Implemented Interfaces:
    Edit<C>
    Enclosing interface:
    Edit<C extends Compound>

    public static class Edit.Substitute<C extends Compound>
    extends Edit.AbstractEdit<C>
    Allows for the substitution of bases into an existing Sequence. This allows us to do edits like:
        Sub TT @ position 2
        AAAA -> ATTA
     
    We do not support Edits do not require the length of the insertion but do rely on the presence of a CompoundSet to parse a String (if given) which means the eventual length of a Sequence is a lazy operation.