Class FieldPrecedenceModel.TransitionGroup

java.lang.Object
uk.co.real_logic.sbe.generation.common.FieldPrecedenceModel.TransitionGroup
Enclosing class:
FieldPrecedenceModel

public static final class FieldPrecedenceModel.TransitionGroup extends Object
A group of transitions that share the same end state.
  • Method Details

    • forEachStartState

      public void forEachStartState(Consumer<FieldPrecedenceModel.State> consumer)
      Iterate over the start states of the transitions in this group.
      Parameters:
      consumer - the consumer of the start states.
    • endState

      public FieldPrecedenceModel.State 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()
      Returns true if the transitions in this group do not change state.
      Returns:
      true if the transitions in this group do not change state.
    • exampleCode

      public String 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

      public String toString()
      Overrides:
      toString in class Object