Package twitter4j.v1
Interface PagableResponseList<T extends TwitterResponse>
- All Superinterfaces:
Collection<T>
,CursorSupport
,Iterable<T>
,List<T>
,ResponseList<T>
,Serializable
,TwitterResponse
public interface PagableResponseList<T extends TwitterResponse>
extends ResponseList<T>, CursorSupport
ResponseList with cursor support.
-
Nested Class Summary
Nested classes/interfaces inherited from interface twitter4j.TwitterResponse
TwitterResponse.AccessLevel
-
Field Summary
Fields inherited from interface twitter4j.v1.CursorSupport
START
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
Methods inherited from interface twitter4j.v1.ResponseList
getRateLimitStatus
Methods inherited from interface twitter4j.TwitterResponse
getAccessLevel
-
Method Details
-
hasPrevious
boolean hasPrevious()- Specified by:
hasPrevious
in interfaceCursorSupport
- Returns:
- has previous page
-
getPreviousCursor
long getPreviousCursor()- Specified by:
getPreviousCursor
in interfaceCursorSupport
- Returns:
- previous cursor
-
hasNext
boolean hasNext()- Specified by:
hasNext
in interfaceCursorSupport
- Returns:
- has next
-
getNextCursor
long getNextCursor()- Specified by:
getNextCursor
in interfaceCursorSupport
- Returns:
- next cursor
-