Class CompoundRule


  • class CompoundRule
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CompoundRule​(java.lang.String rule, Dictionary dictionary)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean fullyMatches​(java.util.List<IntsRef> words)  
      private boolean match​(java.util.List<IntsRef> words, int patternIndex, int wordIndex, boolean fully)  
      (package private) boolean mayMatch​(java.util.List<IntsRef> words)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • data

        private final char[] data
    • Constructor Detail

      • CompoundRule

        CompoundRule​(java.lang.String rule,
                     Dictionary dictionary)
    • Method Detail

      • mayMatch

        boolean mayMatch​(java.util.List<IntsRef> words)
      • fullyMatches

        boolean fullyMatches​(java.util.List<IntsRef> words)
      • match

        private boolean match​(java.util.List<IntsRef> words,
                              int patternIndex,
                              int wordIndex,
                              boolean fully)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object