Interface TransitionSymbol<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EPSILON
      The string used to represent an empty transaction symbol, usually called epsilon.
      static java.lang.String UNKNOWN_SYMBOL
      The string used to represent an unknown transaction symbol, that can take the form of any other (e.g., any character, any string, ...).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isEpsilon()
      Yields true if and only if this symbol represents the empty string epsilon.
      int maxLength()
      Yields the maximum length of this symbol.
      int minLength()
      Yields the minimum length of this symbol.
      T reverse()
      Yields a new symbol that corresponds to this one, but read back-to-front.
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Field Detail

      • UNKNOWN_SYMBOL

        static final java.lang.String UNKNOWN_SYMBOL
        The string used to represent an unknown transaction symbol, that can take the form of any other (e.g., any character, any string, ...).
        See Also:
        Constant Field Values
      • EPSILON

        static final java.lang.String EPSILON
        The string used to represent an empty transaction symbol, usually called epsilon.
        See Also:
        Constant Field Values
    • Method Detail

      • isEpsilon

        boolean isEpsilon()
        Yields true if and only if this symbol represents the empty string epsilon.
        Returns:
        true if that condition holds.
      • reverse

        T reverse()
        Yields a new symbol that corresponds to this one, but read back-to-front.
        Returns:
        the reversed symbol
      • maxLength

        int maxLength()
        Yields the maximum length of this symbol.
        Returns:
        the maximum length
      • minLength

        int minLength()
        Yields the minimum length of this symbol.
        Returns:
        the minimum length