X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAnnotatedCollectionI.java;h=0c159b3ff0299edd879abacd59542320b28f988d;hb=17e77c3f2949a0729322b4a8d907f3f34b6a9914;hp=6bd4ab97fa6087b81fe7da53c15557dde496d9f5;hpb=fe6b3fb39308b5c045849db2be75ba07824be776;p=jalview.git diff --git a/src/jalview/datamodel/AnnotatedCollectionI.java b/src/jalview/datamodel/AnnotatedCollectionI.java index 6bd4ab9..0c159b3 100644 --- a/src/jalview/datamodel/AnnotatedCollectionI.java +++ b/src/jalview/datamodel/AnnotatedCollectionI.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9) + * Copyright (C) 2015 The Jalview Authors * * This file is part of Jalview. * @@ -33,6 +33,9 @@ public interface AnnotatedCollectionI extends SequenceCollectionI Iterable findAnnotation(String calcId); + Iterable findAnnotations(SequenceI seq, + String calcId, String label); + /** * context for this annotated collection * @@ -40,21 +43,4 @@ public interface AnnotatedCollectionI extends SequenceCollectionI * alignment, parent group). */ AnnotatedCollectionI getContext(); - - /** - * Return an iterable set of any annotations in the collection that match the - * provided criteria, i.e. - * - * - * @param datasequence - * @param calcId - * @param label - * @return - */ - Iterable findAnnotation(SequenceI datasequence, - String calcId, String label); }