Modifier and Type | Method and Description |
---|---|
StatefulScanner.Rule |
goTo(S nextState) |
StatefulScanner.Rule |
pop()
Restores a previously pushed state.
|
StatefulScanner.Rule |
push(S nextState)
Saves the current state and changes to the nextState.
|
String |
toString() |
public StatefulScanner.Rule goTo(@Nullable S nextState)
nextState
- ss.REMAIN
means remain in current statepublic StatefulScanner.Rule push(S nextState)
pop()
public StatefulScanner.Rule pop()
push(Enum)
Copyright © 2018 Arno Unkrig. All rights reserved.