public class WrappingPagedList<T> extends ArrayList<T> implements PagedList<T>
modCount| Constructor and Description |
|---|
WrappingPagedList(Pipe<T> pipe,
List<T> data,
org.jboss.aerogear.android.core.ReadFilter nextFilter,
org.jboss.aerogear.android.core.ReadFilter previousFilter) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.aerogear.android.core.ReadFilter |
getNextFilter() |
org.jboss.aerogear.android.core.ReadFilter |
getPreviousFilter() |
void |
next(org.jboss.aerogear.android.core.Callback<List<T>> callback)
Retrieve the next result set.
|
void |
previous(org.jboss.aerogear.android.core.Callback<List<T>> callback)
Retrieve the previous result set.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitadd, 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, toArrayparallelStream, removeIf, streampublic WrappingPagedList(Pipe<T> pipe, List<T> data, org.jboss.aerogear.android.core.ReadFilter nextFilter, org.jboss.aerogear.android.core.ReadFilter previousFilter)
pipe - the pipe to read for more datadata - the initial datasetnextFilter - the filter which defines the "next" set of datapreviousFilter - the filter which defines the "previous" set of datapublic void next(org.jboss.aerogear.android.core.Callback<List<T>> callback)
PagedListpublic void previous(org.jboss.aerogear.android.core.Callback<List<T>> callback)
PagedListpublic org.jboss.aerogear.android.core.ReadFilter getNextFilter()
public org.jboss.aerogear.android.core.ReadFilter getPreviousFilter()
Copyright © 2015 JBoss by Red Hat. All rights reserved.