JAL-2110 javadoc
authorJim Procter <jprocter@issues.jalview.org>
Tue, 12 Jul 2016 16:12:10 +0000 (17:12 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 12 Jul 2016 16:13:11 +0000 (17:13 +0100)
src/jalview/analysis/AlignmentUtils.java
src/jalview/datamodel/SequenceI.java

index e2f6749..7264cd2 100644 (file)
@@ -2606,7 +2606,10 @@ public class AlignmentUtils
    * true; else returns false
    * 
    * @param unaligned
+   *          - sequences to be aligned based on aligned
    * @param aligned
+   *          - 'guide' alignment containing sequences derived from same dataset
+   *          as unaligned
    * @return
    */
   static boolean alignAsSameSequences(AlignmentI unaligned,
@@ -2617,6 +2620,7 @@ public class AlignmentUtils
       return false; // should only pass alignments with datasets here
     }
 
+    // map from dataset sequence to alignment sequence
     Map<SequenceI, SequenceI> alignedDatasets = new HashMap<SequenceI, SequenceI>();
     for (SequenceI seq : aligned.getSequences())
     {
index 355e271..45a767c 100755 (executable)
@@ -239,19 +239,21 @@ public interface SequenceI extends ASequenceI
    * DOCUMENT ME!
    * 
    * @param i
-   *          DOCUMENT ME!
+   *          alignment column number
    * @param c
-   *          DOCUMENT ME!
+   *          character to insert
    */
   public void insertCharAt(int i, char c);
 
   /**
-   * DOCUMENT ME!
+   * insert given character at alignment column position
    * 
    * @param position
-   *          DOCUMENT ME!
+   *          alignment column number
+   * @param count
+   *          length of insert
    * @param ch
-   *          DOCUMENT ME!
+   *          character to insert
    */
   public void insertCharAt(int position, int count, char ch);