T - the list element typepublic class CursoredList<T> extends ArrayList<T>
modCount| Constructor and Description |
|---|
CursoredList(Collection<? extends T> collection,
long previousCursor,
long nextCursor) |
CursoredList(int initialCapacity,
long previousCursor,
long nextCursor) |
| Modifier and Type | Method and Description |
|---|---|
long |
getNextCursor() |
long |
getPreviousCursor() |
boolean |
hasNext() |
boolean |
hasPrevious() |
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, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic CursoredList(Collection<? extends T> collection, long previousCursor, long nextCursor)
public CursoredList(int initialCapacity,
long previousCursor,
long nextCursor)
public long getPreviousCursor()
public long getNextCursor()
public boolean hasPrevious()
public boolean hasNext()