Class MooreBuilder.MooreBuilder0

    • Method Detail

      • create

        public A create()
        Returns the constructed automaton.
        Returns:
        the automaton
      • from

        public MooreBuilder.MooreBuilder2 from​(Object stateId)
        Starts a definition of transition(s) from a given source state.
        Parameters:
        stateId - the object to identify the state
        Returns:
        the next fluent state
      • from

        public MooreBuilder.MooreBuilder2 from​(Object firstStateId,
                                               Object... otherStateIds)
        Starts a definition of transition(s) from multiple given source states.
        Parameters:
        firstStateId - the mandatory object to identify the first state
        otherStateIds - the optional objects to identify additional states
        Returns:
        the next fluent state
      • withOutput

        public MooreBuilder.MooreBuilder0 withOutput​(Object stateId,
                                                     O output)
        Associates with the given state the given output symbol.
        Parameters:
        stateId - the object to identify the state
        output - the output symbol
        Returns:
        the next fluent state