Modifier and Type | Field and Description |
---|---|
private boolean |
isError |
private boolean |
isFinal |
private List<Transition> |
transitions |
Constructor and Description |
---|
RtState() |
RtState(boolean isFinal,
boolean isError) |
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.
|
private List<Transition> transitions
private boolean isFinal
private boolean isError
public RtState()
public RtState(boolean isFinal, boolean isError)
public State transit(String c)
State
public boolean isFinal()
State
public State with(Transition tr)
State
Copyright © 2017–2020. All rights reserved.