twitter4j
Class IDsJSONImpl
java.lang.Object
twitter4j.TwitterResponseImpl
twitter4j.IDsJSONImpl
- All Implemented Interfaces:
- java.io.Serializable, CursorSupport, IDs, TwitterResponse
final class IDsJSONImpl
- extends TwitterResponseImpl
- implements IDs
A data class representing array of numeric IDs.
- Author:
- Yusuke Yamamoto - yusuke at mac.com
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ids
private int[] ids
previousCursor
private long previousCursor
nextCursor
private long nextCursor
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
IDsJSONImpl
private IDsJSONImpl(HttpResponse res)
throws TwitterException
- Throws:
TwitterException
getFriendsIDs
static IDs getFriendsIDs(HttpResponse res)
throws TwitterException
- Throws:
TwitterException
getBlockIDs
static IDs getBlockIDs(HttpResponse res)
throws TwitterException
- Throws:
TwitterException
getIDs
public int[] getIDs()
-
- Specified by:
getIDs in interface IDs
hasPrevious
public boolean hasPrevious()
-
- Specified by:
hasPrevious in interface CursorSupport- Specified by:
hasPrevious in interface IDs
getPreviousCursor
public long getPreviousCursor()
-
- Specified by:
getPreviousCursor in interface CursorSupport- Specified by:
getPreviousCursor in interface IDs
hasNext
public boolean hasNext()
-
- Specified by:
hasNext in interface CursorSupport- Specified by:
hasNext in interface IDs
getNextCursor
public long getNextCursor()
-
- Specified by:
getNextCursor in interface CursorSupport- Specified by:
getNextCursor in interface IDs
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