Interface UniversalDTS<S,​I,​T,​SP,​TP>

    • Method Detail

      • getTransitionProperty

        default @Nullable TP getTransitionProperty​(S state,
                                                   I input)
        Retrieves the transition property of the outgoing transition corresponding to the given state and input, if it exists. Otherwise, null is returned.

        Note that this method alone is insufficient for determining whether a transition actually exists, as null might either be property of an existing transition, or indicate that the transition does not exist.

        Parameters:
        state - the source state
        input - the input symbol
        Returns:
        the property of the outgoing transition, or null