|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--BoyerMoore
Implementation of the Boyer-Moore Algorithm for pattern matching.
Field Summary | |
static int |
ALPHABET_SIZE
|
Constructor Summary | |
BoyerMoore(java.lang.String pattern,
java.lang.String text)
|
Method Summary | |
int |
match()
Searches the pattern in the text. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int ALPHABET_SIZE
Constructor Detail |
public BoyerMoore(java.lang.String pattern, java.lang.String text)
Method Detail |
public int match()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |