Package monq.jfa.filter
Interface MatchHandler<V>
- Type Parameters:
V- type of value stored in theDfa.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The type of handler called by
DfaFilter to handle a match.-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMatch(StringBuilder out, int matchStart, V value) Handles a match
-
Method Details
-
handleMatch
Handles a match- Parameters:
out- contains the matching string as a suffixmatchStart- start of the match in outvalue- found in the Dfa associated with the match- Throws:
CallbackException- can be thrown if thing went wrong
-