Class AddressStringTerm

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AddressStringTerm​(java.lang.String pattern)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      protected boolean match​(Address a)
      Indicates whether the address pattern specified in the constructor is a substring of the string representation of the given address.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddressStringTerm

        protected AddressStringTerm​(java.lang.String pattern)
        Constructor.
        Parameters:
        pattern - the address pattern for comparison
    • Method Detail

      • match

        protected boolean match​(Address a)
        Indicates whether the address pattern specified in the constructor is a substring of the string representation of the given address.
        Parameters:
        a - the address
      • equals

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