public interface State
| Modifier and Type | Method and Description |
|---|---|
boolean |
isError() |
boolean |
isFinal()
Can the automaton stop on this state?
|
State |
transit(String c)
Follow one of the transitions, to get
to the next state.
|
State |
with(Transition tr)
Add a Transition to this state.
|
State with(Transition tr)
tr - Given transition.State transit(String c)
c - String.IllegalStateException - if the char is not accepted.boolean isFinal()
boolean isError()
Copyright © 2017–2020. All rights reserved.