* @throws java.lang.IndexOutOfBoundsException
* if the index given is outside the bounds of the collection
*/
- public void addSequenceSet(final int index, final SequenceSet vSequenceSet)
+ public void addSequenceSet(final int index,
+ final SequenceSet vSequenceSet)
throws java.lang.IndexOutOfBoundsException
{
this._sequenceSetList.add(index, vSequenceSet);
// check bounds for index
if (index < 0 || index >= this._alignmentList.size())
{
- throw new IndexOutOfBoundsException("getAlignment: Index value '"
- + index + "' not in range [0.."
- + (this._alignmentList.size() - 1) + "]");
+ throw new IndexOutOfBoundsException(
+ "getAlignment: Index value '" + index + "' not in range [0.."
+ + (this._alignmentList.size() - 1) + "]");
}
return (Alignment) _alignmentList.get(index);
// check bounds for index
if (index < 0 || index >= this._alignmentList.size())
{
- throw new IndexOutOfBoundsException("setAlignment: Index value '"
- + index + "' not in range [0.."
- + (this._alignmentList.size() - 1) + "]");
+ throw new IndexOutOfBoundsException(
+ "setAlignment: Index value '" + index + "' not in range [0.."
+ + (this._alignmentList.size() - 1) + "]");
}
this._alignmentList.set(index, vAlignment);
* @throws java.lang.IndexOutOfBoundsException
* if the index given is outside the bounds of the collection
*/
- public void setSequenceSet(final int index, final SequenceSet vSequenceSet)
+ public void setSequenceSet(final int index,
+ final SequenceSet vSequenceSet)
throws java.lang.IndexOutOfBoundsException
{
// check bounds for index
* if this object is an invalid instance according to the schema
* @return the unmarshaled jalview.binding.VAMSAS
*/
- public static jalview.binding.VAMSAS unmarshal(final java.io.Reader reader)
+ public static jalview.binding.VAMSAS unmarshal(
+ final java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
{
- return (jalview.binding.VAMSAS) Unmarshaller.unmarshal(
- jalview.binding.VAMSAS.class, reader);
+ return (jalview.binding.VAMSAS) Unmarshaller
+ .unmarshal(jalview.binding.VAMSAS.class, reader);
}
/**