|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.search.MaxMismatchMatcher
public class MaxMismatchMatcher
A BioMatcher class returned by MaxMismatchPattern.matcher() that implements searching of a SymbolList.
This class is public only to allow access to the mismatchCount() method.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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()
BioMatcher
start in interface BioMatcherpublic int end()
BioMatcher
end in interface BioMatcherpublic SymbolList group()
BioMatcher
group in interface BioMatcherpublic int mismatchCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||