Class Edit.AbstractEdit<C extends Compound>
java.lang.Object
org.biojava.nbio.core.sequence.edits.Edit.AbstractEdit<C>
- All Implemented Interfaces:
 Edit<C>
- Direct Known Subclasses:
 Edit.Delete,Edit.Insert,Edit.Substitute
public abstract static class Edit.AbstractEdit<C extends Compound>
extends Object
implements Edit<C>
Abstract class which defines all edit operations as a call to discover
 what 5' and 3' ends of an editing Sequence should be joined together
 with a target Sequence. These ends can be of 0 length but conceptionally
 they can still exist.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.biojava.nbio.core.sequence.edits.Edit
Edit.AbstractEdit<C extends Compound>, Edit.Delete<C extends Compound>, Edit.Insert<C extends Compound>, Edit.Substitute<C extends Compound> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetEmptySequence(Sequence<C> editingSequence) Returns an empty sequence with the given compound set of the editing sequenceintgetEnd()getFivePrime(Sequence<C> editingSequence) Should return the 5-prime end of the given Sequence according to the edit.intgetStart()getTargetSequence(Sequence<C> editingSequence) Returns the Sequence which is our edit.getThreePrime(Sequence<C> editingSequence) Should return the 3-prime end of the given Sequence according to the edit.protected voidsetSequence(Sequence<C> sequence) protected voidsetStringSequence(String stringSequence)  
- 
Constructor Details
- 
AbstractEdit
 - 
AbstractEdit
 
 - 
 - 
Method Details
- 
getFivePrime
Should return the 5-prime end of the given Sequence according to the edit. An empty Sequence is valid. - 
getThreePrime
Should return the 3-prime end of the given Sequence according to the edit. An empty Sequence is valid. - 
edit
 - 
setStringSequence
 - 
setSequence
 - 
getTargetSequence
Returns the Sequence which is our edit. - 
getEmptySequence
Returns an empty sequence with the given compound set of the editing sequence - 
getStart
 - 
getEnd
 
 -