git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-1114 promote start/end attributes to gettable fields of annotatable collections
[jalview.git]
/
src
/
jalview
/
datamodel
/
SequenceCollectionI.java
diff --git
a/src/jalview/datamodel/SequenceCollectionI.java
b/src/jalview/datamodel/SequenceCollectionI.java
index
c5cee01
..
f0d7284
100644
(file)
--- a/
src/jalview/datamodel/SequenceCollectionI.java
+++ b/
src/jalview/datamodel/SequenceCollectionI.java
@@
-29,4
+29,16
@@
public interface SequenceCollectionI
int getWidth();
+ /**
+ * @return the first column included in this collection. Runs from 0<=i<N_cols
+ */
+ int getStartRes();
+
+
+ /**
+ *
+ * @return the last column in this collection. Runs from 0<=i<N_cols
+ */
+ int getEndRes();
+
}