|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.FlagTerm
public final class FlagTerm
This class implements comparisons for Message Flags.
| 字段摘要 | |
|---|---|
protected Flags |
flags
Flags object containing the flags to test. |
protected boolean |
set
Indicates whether to test for the presence or absence of the specified Flag. |
| 构造方法摘要 | |
|---|---|
FlagTerm(Flags flags,
boolean set)
Constructor. |
|
| 方法摘要 | |
|---|---|
boolean |
equals(Object obj)
Equality comparison. |
Flags |
getFlags()
Return the Flags to test. |
boolean |
getTestSet()
Return true if testing whether the flags are set. |
int |
hashCode()
Compute a hashCode for this object. |
boolean |
match(Message msg)
The comparison method. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected boolean set
true,
then test whether all the specified flags are present, else
test whether all the specified flags are absent.
protected Flags flags
| 构造方法详细信息 |
|---|
public FlagTerm(Flags flags,
boolean set)
flags - Flags object containing the flags to check forset - the flag setting to check for| 方法详细信息 |
|---|
public Flags getFlags()
public boolean getTestSet()
public boolean match(Message msg)
SearchTerm 中的 matchmsg - The flag comparison is applied to this Message
public boolean equals(Object obj)
Object 中的 equalspublic int hashCode()
Object 中的 hashCode
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||