From: Jim Procter Date: Tue, 5 Apr 2016 17:30:57 +0000 (+0100) Subject: JAL-2046 explicit contract for get/set SequenceFeatures on SequenceI X-Git-Tag: Release_2_10_0~249^2~31^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=935cdb9c4581bd387df656bd29f0804ef5f24c5c;p=jalview.git JAL-2046 explicit contract for get/set SequenceFeatures on SequenceI --- diff --git a/src/jalview/datamodel/SequenceI.java b/src/jalview/datamodel/SequenceI.java index f1cba43..60040d8 100755 --- a/src/jalview/datamodel/SequenceI.java +++ b/src/jalview/datamodel/SequenceI.java @@ -250,17 +250,20 @@ public interface SequenceI extends ASequenceI public void insertCharAt(int position, int count, char ch); /** - * DOCUMENT ME! + * Gets array holding sequence features associated with this sequence. The + * array may be held by the sequence's dataset sequence if that is defined. * - * @return DOCUMENT ME! + * @return hard reference to array */ public SequenceFeature[] getSequenceFeatures(); /** - * DOCUMENT ME! + * Replaces the array of sequence features associated with this sequence with + * a new array reference. If this sequence has a dataset sequence, then this + * method will update the dataset sequence's feature array * - * @param v - * DOCUMENT ME! + * @param features + * New array of sequence features */ public void setSequenceFeatures(SequenceFeature[] features);