public final class AnyOfMatcher extends AbstractMatcher
Matcher matching a single character out of a given Characters set.| Constructor and Description |
|---|
AnyOfMatcher(Characters characters) |
| Modifier and Type | Method and Description |
|---|---|
Characters |
getCharacters() |
MatcherType |
getType()
Returns the type of this matcher
|
<V> boolean |
match(MatcherContext<V> context)
Tries a match on the given MatcherContext.
|
getLabel, getSubContext, hasCustomLabel, label, toStringgetChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildrenpublic AnyOfMatcher(Characters characters)
public MatcherType getType()
MatcherMatcherTypepublic Characters getCharacters()
public <V> boolean match(MatcherContext<V> context)
Matchercontext - the MatcherContext