Class CharacterRunAutomaton


  • public class CharacterRunAutomaton
    extends RunAutomaton
    Automaton representation for matching char[].
    • Constructor Detail

      • CharacterRunAutomaton

        public CharacterRunAutomaton​(Automaton a)
    • Method Detail

      • run

        public boolean run​(java.lang.String s)
        Returns true if the given string is accepted by this automaton.
      • run

        public boolean run​(char[] s,
                           int offset,
                           int length)
        Returns true if the given string is accepted by this automaton