|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.social.twitter.api.SearchResults
public class SearchResults
Represents the results of a Twitter search, including matching Tweets
and any metadata associated with that search.
| Constructor Summary | |
|---|---|
SearchResults(java.util.List<Tweet> tweets,
long maxId,
long sinceId)
|
|
SearchResults(java.util.List<Tweet> tweets,
long maxId,
long sinceId,
boolean lastPage)
|
|
| Method Summary | |
|---|---|
long |
getMaxId()
Returns the maximum Tweet ID in the search results |
long |
getSinceId()
Returns the Tweet ID after which all of the matching
Tweets were created |
java.util.List<Tweet> |
getTweets()
Returns the list of matching Tweets |
boolean |
isLastPage()
Returns true if this is the last page of matching
Tweets; false if there are more pages that follow
this one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchResults(java.util.List<Tweet> tweets,
long maxId,
long sinceId)
public SearchResults(java.util.List<Tweet> tweets,
long maxId,
long sinceId,
boolean lastPage)
| Method Detail |
|---|
public java.util.List<Tweet> getTweets()
Tweets
public long getMaxId()
Tweet ID in the search results
public long getSinceId()
Tweet ID after which all of the matching
Tweets were created
public boolean isLastPage()
true if this is the last page of matching
Tweets; false if there are more pages that follow
this one.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||