public class SearchResponse extends Object implements ImapResponseMessage
SEARCH response.| Constructor and Description |
|---|
SearchResponse(long[] ids,
Long highestModSeq)
Constructs a
SEARCH response. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getHighestModSeq()
Return the highest mod-sequence for which matched the search.
|
long[] |
getIds()
Gets the ids returned by this search.
|
int |
hashCode() |
String |
toString()
Constructs a
String with all attributes in name = value
format. |
public SearchResponse(long[] ids,
Long highestModSeq)
SEARCH response.ids - ids, not nullhighestModSeq - public final long[] getIds()
public final Long getHighestModSeq()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.