public class MaxMismatchPattern extends Object implements BioPattern
Constructor and Description |
---|
MaxMismatchPattern() |
MaxMismatchPattern(SymbolList pattern,
int mismatches) |
Modifier and Type | Method and Description |
---|---|
int |
getMismatches() |
SymbolList |
getPattern() |
BioMatcher |
matcher(SymbolList symList)
Get a matcher that will use these parameters to search a SymbolList.
|
void |
setMismatches(int mismatches) |
void |
setPattern(SymbolList pattern) |
public MaxMismatchPattern()
public MaxMismatchPattern(SymbolList pattern, int mismatches)
public int getMismatches()
public void setMismatches(int mismatches)
public SymbolList getPattern()
public void setPattern(SymbolList pattern)
public BioMatcher matcher(SymbolList symList) throws IllegalAlphabetException
BioPattern
The resulting BioMatcher is independant of this BioPattern. In particular, calling any mutator methods on this pattern will not affect the matcher.
matcher
in interface BioPattern
symList
- the SymbolList to match againstIllegalAlphabetException
- if symList is not over the right alphabetCopyright © 2014 BioJava. All rights reserved.