final class RelatedResultsJSONImpl extends TwitterResponseImpl implements RelatedResults, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private static java.lang.String |
TWEETS_FROM_USER |
private static java.lang.String |
TWEETS_WITH_CONVERSATION |
private static java.lang.String |
TWEETS_WITH_REPLY |
private java.util.Map<java.lang.String,ResponseList<Status>> |
tweetsMap |
Constructor and Description |
---|
RelatedResultsJSONImpl(twitter4j.internal.http.HttpResponse res,
Configuration conf) |
RelatedResultsJSONImpl(twitter4j.internal.org.json.JSONArray jsonArray) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ResponseList<Status> |
getTweetsFromUser()
Return the 3 or less latest statuses from the user who sent the origin tweet.
|
ResponseList<Status> |
getTweetsWithConversation()
Returns the 8 or less statuses with conversation
|
ResponseList<Status> |
getTweetsWithReply()
Returns the 8 or less statuses with reply.
|
int |
hashCode() |
private void |
init(twitter4j.internal.org.json.JSONArray jsonArray,
twitter4j.internal.http.HttpResponse res,
boolean registerRawJSON) |
java.lang.String |
toString() |
getRateLimitStatus
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getRateLimitStatus
private static final java.lang.String TWEETS_WITH_CONVERSATION
private static final java.lang.String TWEETS_WITH_REPLY
private static final java.lang.String TWEETS_FROM_USER
private static final long serialVersionUID
private java.util.Map<java.lang.String,ResponseList<Status>> tweetsMap
RelatedResultsJSONImpl(twitter4j.internal.http.HttpResponse res, Configuration conf) throws TwitterException
TwitterException
RelatedResultsJSONImpl(twitter4j.internal.org.json.JSONArray jsonArray) throws TwitterException
TwitterException
private void init(twitter4j.internal.org.json.JSONArray jsonArray, twitter4j.internal.http.HttpResponse res, boolean registerRawJSON) throws TwitterException
TwitterException
public ResponseList<Status> getTweetsWithConversation()
getTweetsWithConversation
in interface RelatedResults
public ResponseList<Status> getTweetsWithReply()
getTweetsWithReply
in interface RelatedResults
public ResponseList<Status> getTweetsFromUser()
getTweetsFromUser
in interface RelatedResults
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object