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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
Flags |
getFlags() |
boolean |
getTestSet() |
int |
hashCode() |
boolean |
match(Message message)
Checks a matching criteria defined by the concrete subclass of this Term.
|
protected boolean set
protected Flags flags
public Flags getFlags()
public boolean getTestSet()
public boolean match(Message message)
SearchTermmatch in class SearchTermmessage - the message to apply the matching criteria topublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object