javax.mail.search
Class OrTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.OrTerm
- All Implemented Interfaces:
- java.io.Serializable
public final class OrTerm
- extends SearchTerm
- Version:
- $Rev: 126550 $ $Date: 2005-01-26 23:27:45 +0100 (Wed, 26 Jan 2005) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
terms
protected SearchTerm[] terms
OrTerm
public OrTerm(SearchTerm a,
SearchTerm b)
OrTerm
public OrTerm(SearchTerm[] terms)
getTerms
public SearchTerm[] getTerms()
match
public boolean match(Message message)
- Description copied from class:
SearchTerm
- Checks a matching criteria defined by the concrete subclass of this Term.
- Specified by:
match
in class SearchTerm
- Parameters:
message
- the message to apply the matching criteria to
- Returns:
- true if the matching criteria is met
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © {inceptionYear}-2009 null. All Rights Reserved.