javax.mail.search
public final class OrTerm extends SearchTerm
Version: 1.3
| Field Summary | |
|---|---|
| protected SearchTerm[] | terms
The target terms. |
| Constructor Summary | |
|---|---|
| OrTerm(SearchTerm t1, SearchTerm t2)
Constructor with two operands. | |
| OrTerm(SearchTerm[] t)
Constructor with multiple search terms. | |
| Method Summary | |
|---|---|
| boolean | equals(Object other) |
| SearchTerm[] | getTerms()
Returns the search terms. |
| int | hashCode() |
| boolean | match(Message msg)
Returns true only if any of the terms specified in this term match
the given message. |
Parameters: t1 the first term t2 the second term
Parameters: t the terms