twitter4j
Class AccountTotalsJSONImpl
java.lang.Object
twitter4j.TwitterResponseImpl
twitter4j.AccountTotalsJSONImpl
- All Implemented Interfaces:
- java.io.Serializable, AccountTotals, TwitterResponse
class AccountTotalsJSONImpl
- extends TwitterResponseImpl
- implements AccountTotals, java.io.Serializable
- Since:
- Twitter4J 2.1.9
- Author:
- Yusuke Yamamoto - yusuke at mac.com
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
updates
private final int updates
followers
private final int followers
favorites
private final int favorites
friends
private final int friends
AccountTotalsJSONImpl
private AccountTotalsJSONImpl(twitter4j.internal.http.HttpResponse res,
twitter4j.internal.org.json.JSONObject json)
AccountTotalsJSONImpl
AccountTotalsJSONImpl(twitter4j.internal.http.HttpResponse res)
throws TwitterException
- Throws:
TwitterException
AccountTotalsJSONImpl
AccountTotalsJSONImpl(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
- Throws:
TwitterException
getUpdates
public int getUpdates()
- Description copied from interface:
AccountTotals
- Returns the number of total updates.
- Specified by:
getUpdates
in interface AccountTotals
- Returns:
- the number of total updates
getFollowers
public int getFollowers()
- Description copied from interface:
AccountTotals
- Returns the number of total followers.
- Specified by:
getFollowers
in interface AccountTotals
- Returns:
- the number of total followers
getFavorites
public int getFavorites()
- Description copied from interface:
AccountTotals
- Returns the number of total favorites.
- Specified by:
getFavorites
in interface AccountTotals
- Returns:
- the number of total favorites
getFriends
public int getFriends()
- Description copied from interface:
AccountTotals
- Returns the number of total friends.
- Specified by:
getFriends
in interface AccountTotals
- Returns:
- the number of total friends
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object