- _sequenceList.removeAllElements();\r
- for (int i = 0; i < sequenceArray.length; i++) {\r
- _sequenceList.addElement(sequenceArray[i]);\r
+ _sequenceList.clear();\r
+ \r
+ for (int i = 0; i < vSequenceArray.length; i++) {\r
+ this._sequenceList.add(vSequenceArray[i]);\r
+ }\r
+ }\r
+\r
+ /**\r
+ * \r
+ * \r
+ * @param index\r
+ * @param vSequenceSetProperties\r
+ * @throws java.lang.IndexOutOfBoundsException if the index\r
+ * given is outside the bounds of the collection\r
+ */\r
+ public void setSequenceSetProperties(\r
+ final int index,\r
+ final jalview.schemabinding.version2.SequenceSetProperties vSequenceSetProperties)\r
+ throws java.lang.IndexOutOfBoundsException {\r
+ // check bounds for index\r
+ if (index < 0 || index >= this._sequenceSetPropertiesList.size()) {\r
+ throw new IndexOutOfBoundsException("setSequenceSetProperties: Index value '" + index + "' not in range [0.." + (this._sequenceSetPropertiesList.size() - 1) + "]");\r