NotTerm (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.mail.search Class NotTerm

java.lang.Object
  extended by javax.mail.search.SearchTerm
      extended by javax.mail.search.NotTerm
所有已实现的接口:
Serializable

public final class NotTerm
extends SearchTerm

This class implements the logical NEGATION operator.

作者:
Bill Shannon, John Mani
另请参见:
Serialized Form

字段摘要
protected  SearchTerm term
          The search term to negate.
 
构造器摘要
NotTerm(SearchTerm t)
           
 
方法摘要
 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.
 
类方法继承 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

term

protected SearchTerm term
The search term to negate.

构造器详细信息

NotTerm

public NotTerm(SearchTerm t)
方法详细信息

getTerm

public SearchTerm getTerm()
Return the term to negate.


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.

规范说明:
match in class SearchTerm
参数:
msg - The match criterion is applied on this message
返回:
true, it the match succeeds, false if the match fails

equals

public boolean equals(Object obj)
Equality comparison.

重写:
equals in class Object

hashCode

public int hashCode()
Compute a hashCode for this object.

重写:
hashCode in class Object

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.