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_DIRECTMESSAGES
START
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, getRateLimitStatus
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAccessLevel, getRateLimitStatus
private static final long serialVersionUID
private long[] ids
private long previousCursor
private long nextCursor
IDsJSONImpl(HttpResponse res, Configuration conf) throws TwitterException
TwitterException
IDsJSONImpl(java.lang.String json) throws TwitterException
TwitterException
private void init(java.lang.String jsonStr) throws TwitterException
TwitterException
public boolean hasPrevious()
hasPrevious
in interface CursorSupport
hasPrevious
in interface IDs
public long getPreviousCursor()
getPreviousCursor
in interface CursorSupport
getPreviousCursor
in interface IDs
public boolean hasNext()
hasNext
in interface CursorSupport
hasNext
in interface IDs
public long getNextCursor()
getNextCursor
in interface CursorSupport
getNextCursor
in interface IDs
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object