|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
twitter4j.ResponseList<T>
twitter4j.PagableResponseList<T>
public final class PagableResponseList<T extends TwitterResponse>
ResponseList with cursor support.
Field Summary | |
---|---|
private long |
nextCursor
|
private long |
previousCursor
|
private static long |
serialVersionUID
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
PagableResponseList(int size,
twitter4j.internal.org.json.JSONObject json,
twitter4j.internal.http.HttpResponse res)
|
Method Summary | |
---|---|
long |
getNextCursor()
|
long |
getPreviousCursor()
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
Methods inherited from class twitter4j.ResponseList |
---|
getRateLimitStatus |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Field Detail |
---|
private final long previousCursor
private final long nextCursor
private static final long serialVersionUID
Constructor Detail |
---|
PagableResponseList(int size, twitter4j.internal.org.json.JSONObject json, twitter4j.internal.http.HttpResponse res)
Method Detail |
---|
public boolean hasPrevious()
hasPrevious
in interface CursorSupport
public long getPreviousCursor()
getPreviousCursor
in interface CursorSupport
public boolean hasNext()
hasNext
in interface CursorSupport
public long getNextCursor()
getNextCursor
in interface CursorSupport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |