public final class FlagTerm extends SearchTerm
| Constructor and Description |
|---|
FlagTerm (Flags flags,
boolean set)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals (java.lang.Object other) |
Flags |
getFlags ()
Returns the flags to test.
|
boolean |
getTestSet ()
Indicates whether to test for the presence or the absence of the
specified flags.
|
int |
hashCode () |
boolean |
match (Message msg)
Returns true if the flags in the specified message match this term.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic FlagTerm(Flags flags, boolean set)
flags - the flags to testset - whether to test for presence or absence of the specified
flagspublic Flags getFlags()
public boolean getTestSet()
public boolean match(Message msg)
match in class SearchTerm public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object