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()
Returns the
SearchMetadata associated with a
particular search |
List<Tweet> |
getTweets()
Returns the list of matching
Tweet s |
boolean |
isLastPage()
Returns
true if this is the last page of matching
Tweet s; false if there are more pages that follow
this one. |
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.Copyright © 2019. All rights reserved.