Class AddressTerm

    • Field Detail

      • address

        protected Address address
        The address.
    • Constructor Detail

      • AddressTerm

        protected AddressTerm​(Address address)
    • Method Detail

      • getAddress

        public Address getAddress()
        Return the address to match with.
        Returns:
        the adddress
      • match

        protected boolean match​(Address a)
        Match against the argument Address.
        Parameters:
        a - the address to match
        Returns:
        true if it matches
      • equals

        public boolean equals​(Object obj)
        Equality comparison.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Compute a hashCode for this object.
        Overrides:
        hashCode in class Object