public boolean overlaps(String sequence,int start,int end){
  if (start == MISSING || end == MISSING || end < start) {
    throw new IllegalArgumentException();
  }
  if (!mSequence.equals(sequence)) {
    return false;
  }
  if ((mEnd != MISSING && start >= mEnd) || (end <= mStart)) {
    return false;
  }
  return true;
}

public boolean overlaps ( String sequence , int start , int end ) { if ( start == MISSING || end == MISSING || end < start ) { throw new IllegalArgumentException ( ) ; } if ( ! mSequence . equals ( sequence ) ) { return false ; } if ( ( mEnd != MISSING && start >= mEnd ) || ( end <= mStart ) ) { return false ; } return true ; }
test whether the specified range overlaps the current region
