public class CompoundMatcher extends java.lang.Object implements ICharacterMatcher
| Constructor and Description |
|---|
CompoundMatcher(ICharacterMatcher[] matchers)
Create a new object that will match a character if any of the provided objects matches it.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(char ch)
Match the character if any of the provided objects matches it.
|
public CompoundMatcher(ICharacterMatcher[] matchers)
matchers - the array of objects that will be queried if a character matchespublic boolean matches(char ch)
matches in interface ICharacterMatcherch - the character to be matchedICharacterMatcher.matches(char)