public class PagedResult
extends java.lang.Object
PagedResultsCookie
to use for
returning the results when using PagedResultsRequestControl
.Constructor and Description |
---|
PagedResult(java.util.List resultList,
PagedResultsCookie cookie)
Constructs a PagedResults using the supplied List and
PagedResultsCookie . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
PagedResultsCookie |
getCookie()
Get the cookie.
|
java.util.List |
getResultList()
Get the result list.
|
int |
hashCode() |
public PagedResult(java.util.List resultList, PagedResultsCookie cookie)
PagedResultsCookie
.resultList
- the result list.cookie
- the cookie.public PagedResultsCookie getCookie()
public java.util.List getResultList()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object