Class NfaMatcher<T>


  • public class NfaMatcher<T>
    extends Object
    NFA implementation. See https://swtch.com/~rsc/regexp/regexp1.html
    • Method Detail

      • compile

        public void compile()
      • match

        public boolean match​(List<T> args)
      • matchPartial

        public Set<String> matchPartial​(List<T> args)
        Returns the list of possible matcher names for the next object
        Parameters:
        args - input list
        Returns:
        the list of possible matcher names for the next object