public class SearchResults extends TwitterObject
Tweet
s
and any metadata associated with that search.Constructor and Description |
---|
SearchResults(List<Tweet> tweets,
SearchMetadata metaData) |
SearchResults(List<Tweet> tweets,
SearchMetadata metaData,
boolean lastPage) |
Modifier and Type | Method and Description |
---|---|
SearchMetadata |
getSearchMetadata() |
List<Tweet> |
getTweets() |
boolean |
isLastPage() |
add, getExtraData
public SearchResults(List<Tweet> tweets, SearchMetadata metaData)
public SearchResults(List<Tweet> tweets, SearchMetadata metaData, boolean lastPage)
public SearchMetadata getSearchMetadata()
SearchMetadata
associated with a particular searchpublic boolean isLastPage()
true
if this is the last page of matching
Tweet
s; false
if there are more pages that follow
this one.