org.springframework.social.twitter.api
Class SearchResults
java.lang.Object
org.springframework.social.twitter.api.TwitterObject
org.springframework.social.twitter.api.SearchResults
public class SearchResults
- extends TwitterObject
Represents the results of a Twitter search, including matching Tweet
s
and any metadata associated with that search.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResults
public SearchResults(List<Tweet> tweets,
SearchMetadata metaData)
SearchResults
public SearchResults(List<Tweet> tweets,
SearchMetadata metaData,
boolean lastPage)
getTweets
public List<Tweet> getTweets()
- Returns the list of matching
Tweet
s
getSearchMetadata
public SearchMetadata getSearchMetadata()
- Returns the
SearchMetadata
associated with a
particular search
isLastPage
public boolean isLastPage()
- Returns
true
if this is the last page of matching
Tweet
s; false
if there are more pages that follow
this one.