@Immutable @Beta public final class TrieMatcher extends AbstractMatcher
| Constructor and Description |
|---|
TrieMatcher(Trie trie) |
| Modifier and Type | Method and Description |
|---|---|
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 TrieMatcher(Trie trie)
public MatcherType getType()
MatcherMatcherTypepublic <V> boolean match(MatcherContext<V> context)
context - the MatcherContext