public interface DfaTransitionConsumer<MATCHRESULT>
This is used with DfaState.enumerateTransitions(DfaTransitionConsumer)
Modifier and Type | Method and Description |
---|---|
void |
acceptTransition(char firstChar,
char lastChar,
DfaState<MATCHRESULT> target)
Accept a DFA transition
|
void acceptTransition(char firstChar, char lastChar, DfaState<MATCHRESULT> target)
This call indicates that the current state has a transition to target on every character with code point >=firstChar and <=lastChar
firstChar
- First character that triggers this transitionlastChar
- Last character that triggers this transitiontarget
- Target state of this transition