|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.twitter.api.SearchResults
public class SearchResults
Represents the results of a Twitter search, including matching Tweet
s
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
Tweet s were created |
java.util.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. |
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()
Tweet
s
public long getMaxId()
Tweet
ID in the search results
public long getSinceId()
Tweet
ID after which all of the matching
Tweet
s were created
public boolean isLastPage()
true
if this is the last page of matching
Tweet
s; 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 |