Class FromTerm

    • Constructor Summary

      Constructors 
      Constructor Description
      FromTerm​(Address address)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      boolean match​(Message msg)
      Returns true if the From address in the given message matches the address specified in this term.
      • Methods inherited from class java.lang.Object

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

      • FromTerm

        public FromTerm​(Address address)
        Constructor.
        Parameters:
        address - the address for comparison
    • Method Detail

      • match

        public boolean match​(Message msg)
        Returns true if the From address in the given message matches the address specified in this term.
        Specified by:
        match in class SearchTerm
      • equals

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