public final class OrTerm extends SearchTerm
Constructor and Description |
---|
OrTerm(SearchTerm[] t)
Constructor with multiple search terms.
|
OrTerm(SearchTerm t1,
SearchTerm t2)
Constructor with two operands.
|
public OrTerm(SearchTerm t1, SearchTerm t2)
t1
- the first termt2
- the second termpublic OrTerm(SearchTerm[] t)
t
- the termspublic SearchTerm[] getTerms()
public boolean match(Message msg)
match
in class SearchTerm
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object