|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail.search Class NotTerm
java.lang.Object javax.mail.search.SearchTerm javax.mail.search.NotTerm
- All Implemented Interfaces:
- Serializable
public final class NotTerm
- extends SearchTerm
Extends:
SearchTerm
此类实现逻辑 NEGATION 运算符。
This class implements the logical NEGATION operator.
- Author:
- Bill Shannon, John Mani
- See Also:
- Serialized Form
Field Summary | |
---|---|
protected SearchTerm |
term
The search term to negate. |
Constructor Summary | |
---|---|
NotTerm(SearchTerm t)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
Equality comparison. |
SearchTerm |
getTerm()
Return the term to negate. |
int |
hashCode()
Compute a hashCode for this object. |
boolean |
match(Message msg)
This method applies a specific match criterion to the given message and returns the result. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
英文文档:
term
protected SearchTerm term
- The search term to negate.
Constructor Detail |
---|
public
NotTerm(SearchTerm t)
英文文档:
NotTerm
public NotTerm(SearchTerm t)
Method Detail |
---|
public SearchTerm
getTerm()
返回要求反的条目。
英文文档:
getTerm
public SearchTerm getTerm()
- Return the term to negate.
public boolean
match(Message msg)
英文文档:
match
public boolean match(Message msg)
- Description copied from class:
SearchTerm
- This method applies a specific match criterion to the given
message and returns the result.
- Specified by:
match
in classSearchTerm
- Parameters:
msg
- The match criterion is applied on this message- Returns:
- true, it the match succeeds, false if the match fails
public boolean
equals(Object obj)
相等性比较。
英文文档:
equals
public boolean equals(Object obj)
public int
hashCode()
计算此对象的 hashCode。
英文文档:
hashCode
public int hashCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!