Class KeyHashRule

  • All Implemented Interfaces:
    java.io.Serializable

    public class KeyHashRule
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • KeyHashRule

        public KeyHashRule()
        For serialization only
      • KeyHashRule

        public KeyHashRule​(boolean caseInsensitive,
                           boolean ignoreWS,
                           boolean ignorePunct,
                           boolean ignoreTags)
    • Method Detail

      • creatDefault

        public static KeyHashRule creatDefault()
      • getKey

        public java.lang.String getKey​(java.lang.String term)
      • isCaseInsensitive

        public boolean isCaseInsensitive()
      • isIgnorePunct

        public boolean isIgnorePunct()
      • isIgnoreWS

        public boolean isIgnoreWS()
      • isIgnoreTags

        public boolean isIgnoreTags()
      • setCaseInsensitive

        public void setCaseInsensitive​(boolean caseInsensitive)
      • setIgnorePunct

        public void setIgnorePunct​(boolean ignorePunct)
      • setIgnoreWS

        public void setIgnoreWS​(boolean ignoreWS)
      • setIgnoreTags

        public void setIgnoreTags​(boolean ignoreTags)
      • matches

        public boolean matches​(java.lang.String keyA,
                               java.lang.String keyB)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object