public final class FlagTerm extends SearchTerm
Flags
.Modifier and Type | Field and Description |
---|---|
protected Flags |
flags
The flags to test.
|
protected boolean |
set
If true, test that all flags are set; if false, test that all flags are clear.
|
protected boolean set
protected Flags flags
public Flags getFlags()
public boolean getTestSet()
public boolean match(Message message)
SearchTerm
match
in class SearchTerm
message
- the message to apply the matching criteria topublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object