final class IDsJSONImpl extends TwitterResponseImpl implements IDs
| Modifier and Type | Field and Description |
|---|---|
private long[] |
ids |
private long |
nextCursor |
private long |
previousCursor |
private static long |
serialVersionUID |
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGESSTART| Constructor and Description |
|---|
IDsJSONImpl(HttpResponse res,
Configuration conf) |
IDsJSONImpl(java.lang.String json) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long[] |
getIDs() |
long |
getNextCursor() |
long |
getPreviousCursor() |
int |
hashCode() |
boolean |
hasNext() |
boolean |
hasPrevious() |
private void |
init(java.lang.String jsonStr) |
java.lang.String |
toString() |
getAccessLevel, getRateLimitStatusclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAccessLevel, getRateLimitStatusprivate static final long serialVersionUID
private long[] ids
private long previousCursor
private long nextCursor
IDsJSONImpl(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionIDsJSONImpl(java.lang.String json)
throws TwitterException
TwitterExceptionprivate void init(java.lang.String jsonStr)
throws TwitterException
TwitterExceptionpublic boolean hasPrevious()
hasPrevious in interface CursorSupporthasPrevious in interface IDspublic long getPreviousCursor()
getPreviousCursor in interface CursorSupportgetPreviousCursor in interface IDspublic boolean hasNext()
hasNext in interface CursorSupporthasNext in interface IDspublic long getNextCursor()
getNextCursor in interface CursorSupportgetNextCursor in interface IDspublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object