public class MaxMismatchMatcher extends Object implements BioMatcher
This class is public only to allow access to the mismatchCount() method.
Modifier and Type | Method and Description |
---|---|
int |
end()
Get the last symbol index that matches the pattern.
|
boolean |
find()
Attempt to find the next match.
|
SymbolList |
group()
Get the matching region as a SymbolList.
|
int |
mismatchCount()
Returns number of mismatches
|
int |
start()
Get the first symbol index that matches the pattern.
|
public boolean find()
BioMatcher
If the pattern can be found, then this will return true. If it could not, then it will return false. This is convenient within for or while loops.
Each time this is called, the next match will be found. The start() and end() values will increase each time, regardless of wether you called any other methods.
find
in interface BioMatcher
public int start()
BioMatcher
start
in interface BioMatcher
public int end()
BioMatcher
end
in interface BioMatcher
public SymbolList group()
BioMatcher
group
in interface BioMatcher
public int mismatchCount()
Copyright © 2014 BioJava. All rights reserved.