public void setTemplate ( T template , T mask , int maxMatches ) { this . template = template ; this . mask = mask ; this . maxMatches = maxMatches ; }
Specifies the template to search for and the maximum number of matches to return .