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()
BioMatcherIf 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 BioMatcherpublic int start()
BioMatcherstart in interface BioMatcherpublic int end()
BioMatcherend in interface BioMatcherpublic SymbolList group()
BioMatchergroup in interface BioMatcherpublic int mismatchCount()
Copyright © 2014 BioJava. All rights reserved.