public class DiscoveryResultPage
extends java.lang.Object
DiscoveryResult
objects, each of which represents either a PlaceLink
or another
DiscoveryLink
.ExploreRequest
,
HereRequest
,
SearchRequest
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<DiscoveryLink> |
getDiscoveryLinks()
Gets the list of
DiscoveryLink items for the DiscoveryResultPage . |
java.util.List<DiscoveryResult> |
getItems()
Gets the list of
DiscoveryResult items for the DiscoveryResultPage . |
DiscoveryRequest |
getNextPageRequest()
Gets the
DiscoveryRequest for requesting the next page of the
DiscoveryResultPage . |
int |
getOffsetCount()
Gets the result offset count for the current page of the
DiscoveryResultPage . |
java.util.List<PlaceLink> |
getPlaceLinks()
Gets the list of
PlaceLink items for the DiscoveryResultPage . |
DiscoveryRequest |
getPreviousPageRequest()
Gets the
DiscoveryRequest for requesting the previous page of the
DiscoveryResultPage . |
int |
hashCode() |
public int getOffsetCount()
DiscoveryResultPage
.
For the first page of results, the offset count is 0. Following any call to
getNextPageRequest()
, the offset count will be greater than 0.
public DiscoveryRequest getNextPageRequest()
DiscoveryRequest
for requesting the next page of the
DiscoveryResultPage
.DiscoveryRequest
public DiscoveryRequest getPreviousPageRequest()
DiscoveryRequest
for requesting the previous page of the
DiscoveryResultPage
.DiscoveryRequest
public java.util.List<DiscoveryResult> getItems()
DiscoveryResult
items for the DiscoveryResultPage
.DiscoveryResult
objects (could be empty
)public java.util.List<PlaceLink> getPlaceLinks()
PlaceLink
items for the DiscoveryResultPage
.PlaceLink
objects (could be empty
)public java.util.List<DiscoveryLink> getDiscoveryLinks()
DiscoveryLink
items for the DiscoveryResultPage
.DiscoveryLink
objects (could be empty
)public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object