public class OrMatcher extends StringMatcher
| Constructor and Description |
|---|
OrMatcher(StringMatcher matcher1,
StringMatcher matcher2) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
matches(String string,
int offset,
int length)
Checks whether the given substring matches.
|
matchespublic OrMatcher(StringMatcher matcher1, StringMatcher matcher2)
protected boolean matches(String string, int offset, int length)
StringMatchermatches in class StringMatcherstring - the string to match.offset - the start offset of the substring.length - the length of the substring.Copyright © 2016. All rights reserved.