twitter4j
Interface PagableResponseList<T extends TwitterResponse>

All Superinterfaces:
java.util.Collection<T>, CursorSupport, java.lang.Iterable<T>, java.util.List<T>, ResponseList<T>, java.io.Serializable, TwitterResponse
All Known Implementing Classes:
PagableResponseListImpl

public interface PagableResponseList<T extends TwitterResponse>
extends ResponseList<T>, CursorSupport

ResponseList with cursor support.

Author:
Yusuke Yamamoto - yusuke at mac.com

Method Summary
 long getNextCursor()
           
 long getPreviousCursor()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 
Methods inherited from interface twitter4j.ResponseList
getFeatureSpecificRateLimitStatus, getRateLimitStatus
 
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, retainAll, set, size, subList, toArray, toArray
 

Method Detail

hasPrevious

boolean hasPrevious()
Specified by:
hasPrevious in interface CursorSupport

getPreviousCursor

long getPreviousCursor()
Specified by:
getPreviousCursor in interface CursorSupport

hasNext

boolean hasNext()
Specified by:
hasNext in interface CursorSupport

getNextCursor

long getNextCursor()
Specified by:
getNextCursor in interface CursorSupport