class PagableResponseListImpl<T> extends ResponseListImpl implements PagableResponseList
Modifier and Type | Field and Description |
---|---|
private long |
nextCursor |
private long |
previousCursor |
private static long |
serialVersionUID |
Constructor and Description |
---|
PagableResponseListImpl(int size,
twitter4j.internal.org.json.JSONObject json,
twitter4j.internal.http.HttpResponse res) |
Modifier and Type | Method and Description |
---|---|
long |
getNextCursor() |
long |
getPreviousCursor() |
boolean |
hasNext() |
boolean |
hasPrevious() |
getFeatureSpecificRateLimitStatus, getRateLimitStatus
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
finalize, getClass, notify, notifyAll, wait, wait, wait
getFeatureSpecificRateLimitStatus, getRateLimitStatus
private final long previousCursor
private final long nextCursor
private static final long serialVersionUID
PagableResponseListImpl(int size, twitter4j.internal.org.json.JSONObject json, twitter4j.internal.http.HttpResponse res)
public boolean hasPrevious()
hasPrevious
in interface CursorSupport
hasPrevious
in interface PagableResponseList
public long getPreviousCursor()
getPreviousCursor
in interface CursorSupport
getPreviousCursor
in interface PagableResponseList
public boolean hasNext()
hasNext
in interface CursorSupport
hasNext
in interface PagableResponseList
public long getNextCursor()
getNextCursor
in interface CursorSupport
getNextCursor
in interface PagableResponseList