* to the residues of this sequence
*/
Vector annotation;
-
+
/**
- * The index of the sequence in a MSA
+ * The index of the sequence in a MSA
*/
int index = -1;
void checkValidRange()
{
- // Note: JAL-774 : http://issues.jalview.org/browse/JAL-774?focusedCommentId=11239&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-11239
+ // Note: JAL-774 :
+ // http://issues.jalview.org/browse/JAL-774?focusedCommentId=11239&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-11239
{
int endRes = 0;
for (int j = 0; j < sequence.length; j++)
endRes += start - 1;
}
- if (end<endRes) {
+ if (end < endRes)
+ {
end = endRes;
}
}
return this.description;
}
-
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see jalview.datamodel.SequenceI#findIndex(int)
*/
public int findIndex(int pos)
}
/**
- * @return The index (zero-based) on this sequence in the MSA.
- * It returns {@code -1} if this information is not available.
+ * @return The index (zero-based) on this sequence in the MSA. It returns
+ * {@code -1} if this information is not available.
*/
- public int getIndex() { return index; }
-
+ public int getIndex()
+ {
+ return index;
+ }
+
/**
- * Defines the position of this sequence in the MSA.
- * Use the value {@code -1} if this information is undefined.
+ * Defines the position of this sequence in the MSA. Use the value {@code -1}
+ * if this information is undefined.
*
- * @param The position for this sequence. This value is zero-based (zero for this first sequence)
+ * @param The
+ * position for this sequence. This value is zero-based (zero for
+ * this first sequence)
*/
- public void setIndex(int value) { index = value; }
+ public void setIndex(int value)
+ {
+ index = value;
+ }
}