Class FieldPrecedenceModel.TransitionGroup
java.lang.Object
uk.co.real_logic.sbe.generation.common.FieldPrecedenceModel.TransitionGroup
- Enclosing class:
- FieldPrecedenceModel
A group of transitions that share the same end state.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the transitions in this group do not change state.endState()
Returns the end state of the transitions in this group.Returns some example code for the codec interaction that the transitions in this group share.void
forEachStartState
(Consumer<FieldPrecedenceModel.State> consumer) Iterate over the start states of the transitions in this group.toString()
-
Method Details
-
forEachStartState
Iterate over the start states of the transitions in this group.- Parameters:
consumer
- the consumer of the start states.
-
endState
Returns the end state of the transitions in this group.- Returns:
- the end state of the transitions in this group.
-
alwaysEndsInStartState
public boolean alwaysEndsInStartState()Returnstrue
if the transitions in this group do not change state.- Returns:
true
if the transitions in this group do not change state.
-
exampleCode
Returns some example code for the codec interaction that the transitions in this group share. Useful for producing error messages.- Returns:
- some example code for the codec interaction that the transitions in this group share.
-
toString
-