Merge branch 'develop' into features/JAL-2446NCList
[jalview.git] / src / jalview / datamodel / SequenceI.java
index 92f797f..7ecb4ed 100755 (executable)
@@ -475,4 +475,15 @@ public interface SequenceI extends ASequenceI
    *         list
    */
   public List<DBRefEntry> getPrimaryDBRefs();
+
+  /**
+   * Returns a (possibly empty) list of sequence features of the given type that
+   * overlap the range from-to (inclusive)
+   * 
+   * @param type
+   * @param from
+   * @param to
+   * @return
+   */
+  List<SequenceFeature> findFeatures(String type, int from, int to);
 }