public final class SearchResult<E> extends Object
Constructor and Description |
---|
SearchResult(int count,
String next,
String previous,
List<E> results) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getCount()
Number of search results per page.
|
String |
getNext()
Next page in search results.
|
Optional<Integer> |
getNextLimit()
Returns limit of next page.
|
Optional<Integer> |
getNextOffset()
Retrieves offset of next page.
|
String |
getPrevious()
Previous page in search results.
|
List<E> |
getResults()
List of all results per page.
|
int |
hashCode() |
boolean |
hasNext()
Returns true if search result has next page, false otherwise.
|
String |
toString() |
public boolean hasNext()
public Optional<Integer> getNextOffset()
public int getCount()
public String getNext()
public String getPrevious()
Copyright © 2023 Cense Data Inc.. All rights reserved.