allow findSeq to begin *after* a given sequence in the alignment
[jalview.git] / src / jalview / datamodel / AlignmentI.java
index 558b38d..f89602f 100755 (executable)
@@ -301,5 +301,13 @@ public interface AlignmentI
    * @return matched sequence or null
    */
   public SequenceI findName(String token, boolean b);
+  /**
+   * find next sequence with given name in alignment starting after a given sequence
+   * @param startAfter the sequence after which the search will be started (usually the result of the last call to findName) 
+   * @param token name to find
+   * @param b true implies that case insensitive matching will <em>also</em> be tried 
+   * @return matched sequence or null
+   */
+  public SequenceI findName(SequenceI startAfter, String token, boolean b);
   
 }