AddressTerm (Java EE 5)

Java EE API


javax.mail.search Class AddressTerm

java.lang.Object
  extended by javax.mail.search.SearchTerm
      extended by javax.mail.search.AddressTerm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FromTerm, RecipientTerm

public abstract class AddressTerm
extends SearchTerm

Extends: SearchTerm
Extended by: FromTerm, RecipientTerm

此类实现 Message Address 比较。
英文文档:

This class implements Message Address comparisons.

Author:
Bill Shannon, John Mani
See Also:
Serialized Form

Field Summary
protected  Address
 
Constructor Summary
protected
 
Method Summary
 boolean
 Address
 int
protected  boolean
 
Methods inherited from class javax.mail.search.SearchTerm
 
Methods inherited from class java.lang.Object
 

Field Detail

英文文档:

address

protected Address address
The address.

Constructor Detail

protected AddressTerm(Address address)
英文文档:

AddressTerm

protected AddressTerm(Address address)
Method Detail

public Address getAddress()
返回要匹配的地址。
英文文档:

getAddress

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


protected boolean match(Address a)
与参数 Address 进行匹配。
英文文档:

match

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


public boolean equals(Object obj)
相等性比较。
英文文档:

equals

public boolean equals(Object obj)
Equality comparison.

Overrides:
equals in class Object

public int hashCode()
计算此对象的 hashCode。
英文文档:

hashCode

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

Overrides:
hashCode in class Object


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!