public class CollectionMatcher extends StringMatcher
| Constructor and Description |
|---|
CollectionMatcher(Set<String> set) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String string)
Checks whether the given string matches.
|
protected boolean |
matches(String string,
int beginOffset,
int endOffset)
Checks whether the given substring matches.
|
public boolean matches(String string)
StringMatchermatches in class StringMatcherstring - the string to match.protected boolean matches(String string, int beginOffset, int endOffset)
StringMatchermatches in class StringMatcherstring - the string to match.beginOffset - the start offset of the substring (inclusive).endOffset - the end offset of the substring (exclusive).Copyright © 2019. All rights reserved.