JAL-3156 javadoc re JAL-3127 and FIXME to make AlignmentI.getSequences(hidden represe...
authorJim Procter <jprocter@issues.jalview.org>
Mon, 19 Nov 2018 17:27:22 +0000 (17:27 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 19 Nov 2018 17:27:22 +0000 (17:27 +0000)
src/jalview/datamodel/SequenceCollectionI.java

index f681f11..e2bb5a6 100644 (file)
@@ -25,8 +25,21 @@ import java.util.Map;
 
 public interface SequenceCollectionI
 {
+  /**
+   * 
+   * @return (visible) sequences in this collection. This may be a direct
+   *         reference to the collection so not thread safe
+   */
   List<SequenceI> getSequences();
 
+  /**
+   * FIXME: AlignmentI.getSequences(hiddenReps) doesn't actually obey this
+   * contract!
+   * 
+   * @param hiddenReps
+   * @return the full set of sequences in this collection, including any
+   *         sequences represented by sequences in the collection.
+   */
   List<SequenceI> getSequences(
           Map<SequenceI, SequenceCollectionI> hiddenReps);