javax.mail.search
类 AddressTerm

java.lang.Object
  继承者 javax.mail.search.SearchTerm
      继承者 javax.mail.search.AddressTerm
所有已实现的接口:
Serializable
直接已知子类:
FromTerm, RecipientTerm

public abstract class AddressTerm
extends SearchTerm

This class implements Message Address comparisons.

作者:
Bill Shannon, John Mani
另请参见:
序列化表格

字段摘要
protected  Address address
          The address.
 
构造方法摘要
protected AddressTerm(Address address)
           
 
方法摘要
 boolean equals(Object obj)
          Equality comparison.
 Address getAddress()
          Return the address to match with.
 int hashCode()
          Compute a hashCode for this object.
protected  boolean match(Address a)
          Match against the argument Address.
 
从类 javax.mail.search.SearchTerm 继承的方法
match
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

address

protected Address address
The address.

构造方法详细信息

AddressTerm

protected AddressTerm(Address address)
方法详细信息

getAddress

public Address getAddress()
Return the address to match with.


match

protected boolean match(Address a)
Match against the argument Address.


equals

public boolean equals(Object obj)
Equality comparison.

覆盖:
Object 中的 equals

hashCode

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

覆盖:
Object 中的 hashCode


Copyright © 2013. All Rights Reserved.