X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentI.java;h=f1db4c0eba8c3ba31ef4a25d3092056956185555;hb=8c7a9e1133d84d0d80db855f85b052a737c245f3;hp=4ae8ba29add38dc36920b878eeaaf90941ae97ba;hpb=0ebcd487f08f9873987d9a32edce7df47aa27927;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index 4ae8ba2..f1db4c0 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -41,7 +41,8 @@ public interface AlignmentI extends AnnotatedCollectionI * * Calculates the maximum width of the alignment, including gaps. * - * @return Greatest sequence length within alignment. + * @return Greatest sequence length within alignment, or -1 if no sequences + * present */ @Override int getWidth(); @@ -305,7 +306,7 @@ public interface AlignmentI extends AnnotatedCollectionI * @return Alignment containing dataset sequences or null of this is a * dataset. */ - Alignment getDataset(); + AlignmentI getDataset(); /** * Set the associated dataset for the alignment, or create one. @@ -313,7 +314,7 @@ public interface AlignmentI extends AnnotatedCollectionI * @param dataset * The dataset alignment or null to construct one. */ - void setDataset(Alignment dataset); + void setDataset(AlignmentI dataset); /** * pads sequences with gaps (to ensure the set looks like an alignment) @@ -363,14 +364,6 @@ public interface AlignmentI extends AnnotatedCollectionI void addCodonFrame(AlignedCodonFrame codons); /** - * add a set of aligned codons mappings for this alignment, apart from any - * duplicates which are ignored - * - * @param codons - */ - void addCodonFrames(Iterable codons); - - /** * remove a particular codon frame reference from this alignment * * @param codons