JAL-3070 allow SequenceI.findPositions(0,column+1) to return range between 1 and...
[jalview.git] / src / jalview / datamodel / SequenceI.java
index d06adcb..5cddade 100755 (executable)
@@ -217,10 +217,10 @@ public interface SequenceI extends ASequenceI
    * from 1), or null if no residues are included in the range
    * 
    * @param fromColum
-   *          - first column base 1
+   *          - first column base 1. (0 and negative positions are rounded up)
    * @param toColumn
    *          - last column, base 1
-   * @return
+   * @return null if fromColum>toColumn
    */
   public ContiguousI findPositions(int fromColum, int toColumn);