From 57ac5900f8f2d031f09ca563d3406283aa8a0d58 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 27 Apr 2017 16:25:24 +0100 Subject: [PATCH] JAL-2494 javadoc for AnnotatedCollectionI.findAnnotations --- src/jalview/datamodel/Alignment.java | 4 ---- src/jalview/datamodel/AnnotatedCollectionI.java | 11 +++++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/jalview/datamodel/Alignment.java b/src/jalview/datamodel/Alignment.java index 2dafc0c..17dfb4c 100755 --- a/src/jalview/datamodel/Alignment.java +++ b/src/jalview/datamodel/Alignment.java @@ -1635,10 +1635,6 @@ public class Alignment implements AlignmentI return aa; } - /** - * Returns an iterable collection of any annotations that match on given - * sequence ref, calcId and label (ignoring null values). - */ @Override public Iterable findAnnotations(SequenceI seq, String calcId, String label) diff --git a/src/jalview/datamodel/AnnotatedCollectionI.java b/src/jalview/datamodel/AnnotatedCollectionI.java index 3f6c515..2963fd5 100644 --- a/src/jalview/datamodel/AnnotatedCollectionI.java +++ b/src/jalview/datamodel/AnnotatedCollectionI.java @@ -40,6 +40,17 @@ public interface AnnotatedCollectionI extends SequenceCollectionI */ Iterable findAnnotation(String calcId); + /** + * Returns an iterable collection of any annotations that match on given + * sequence ref, calcId and label (ignoring null values). + * + * @param seq + * null or reference sequence to select annotation for + * @param calcId + * null or the calcId to select annotation for + * @param label + * null or the label to select annotation for + */ Iterable findAnnotations(SequenceI seq, String calcId, String label); -- 1.7.10.2