org.apache.xerces.impl.xpath.regex
Class BMPattern
java.lang.Object
org.apache.xerces.impl.xpath.regex.BMPattern
public class BMPattern
- extends Object
Boyer-Moore searcher.
- Version:
- $Id: BMPattern.java 572108 2007-09-02 18:48:31Z mrglavas $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BMPattern
public BMPattern(String pat,
boolean ignoreCase)
BMPattern
public BMPattern(String pat,
int tableSize,
boolean ignoreCase)
matches
public int matches(CharacterIterator iterator,
int start,
int limit)
- Returns:
- -1 if iterator does not contain this pattern.
matches
public int matches(String str,
int start,
int limit)
- Returns:
- -1 if str does not contain this pattern.
matches
public int matches(char[] chars,
int start,
int limit)
- Returns:
- -1 if chars does not contain this pattern.
Copyright © 2011. All Rights Reserved.