|
Spring Social Twitter | ||||||||
| 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>
org.springframework.social.twitter.api.CursoredList<T>
T - the list element typepublic class CursoredList<T>
List that includes previous and next cursors for paging through items returned from Twitter in cursored pages.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
CursoredList(java.util.Collection<? extends T> collection,
long previousCursor,
long nextCursor)
|
|
CursoredList(int initialCapacity,
long previousCursor,
long nextCursor)
|
|
| Method Summary | |
|---|---|
long |
getNextCursor()
The cursor to retrieve the next page of results. |
long |
getPreviousCursor()
The cursor to retrieve the previous page of results. |
boolean |
hasNext()
Returns true if there is a next page of results. |
boolean |
hasPrevious()
Returns true if there is a previous page of results. |
| 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 |
| Constructor Detail |
|---|
public CursoredList(java.util.Collection<? extends T> collection,
long previousCursor,
long nextCursor)
public CursoredList(int initialCapacity,
long previousCursor,
long nextCursor)
| Method Detail |
|---|
public long getPreviousCursor()
public long getNextCursor()
public boolean hasPrevious()
public boolean hasNext()
|
Spring Social Twitter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||