Class FromTerm

    • Constructor Detail

      • FromTerm

        public FromTerm​(Address address)
        Constructor
        Parameters:
        address - The Address to be compared
    • Method Detail

      • match

        public boolean match​(Message msg)
        The address comparator.
        Specified by:
        match in class SearchTerm
        Parameters:
        msg - The address comparison is applied to this Message
        Returns:
        true if the comparison succeeds, otherwise false