| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private SearchTerm[] | terms
The array of terms on which the OR operator should be applied. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public SearchTerm[] | |
| public int | |
| public boolean | Returns: true if the OR succeds, otherwise falseThe specified SearchTerms are applied to this Message
and the OR operator is applied to their results. msg)Implements abstract javax. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| terms | back to summary |
|---|---|
| private SearchTerm[] terms The array of terms on which the OR operator should be applied. | |
| OrTerm | back to summary |
|---|---|
| public OrTerm(SearchTerm t1, SearchTerm t2) Constructor that takes two operands.
| |
| OrTerm | back to summary |
|---|---|
| public OrTerm(SearchTerm[] t) Constructor that takes an array of SearchTerms.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Equality comparison.
| |
| getTerms | back to summary |
|---|---|
| public SearchTerm[] getTerms() Return the search terms.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Compute a hashCode for this object.
| |
| match | back to summary |
|---|---|
| public boolean match(Message msg) Implements abstract javax. The OR operation. The terms specified in the constructor are applied to the given object and the OR operator is applied to their results. | |