public class WrappingPagedList<T> extends com.google.common.collect.ForwardingList<T> implements PagedList<T>
| Constructor and Description |
|---|
WrappingPagedList(Pipe<T> pipe,
List<T> data,
ReadFilter nextFilter,
ReadFilter previousFilter) |
| Modifier and Type | Method and Description |
|---|---|
protected List<T> |
delegate() |
ReadFilter |
getNextFilter() |
ReadFilter |
getPreviousFilter() |
void |
next(Callback<List<T>> callback)
Retrieve the next result set.
|
void |
previous(Callback<List<T>> callback)
Retrieve the previous result set.
|
add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, standardAdd, standardAddAll, standardEquals, standardHashCode, standardIndexOf, standardIterator, standardLastIndexOf, standardListIterator, standardListIterator, standardSubList, subListadd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArraypublic WrappingPagedList(Pipe<T> pipe, List<T> data, ReadFilter nextFilter, 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 dataprotected List<T> delegate()
delegate in class com.google.common.collect.ForwardingList<T>public void next(Callback<List<T>> callback)
PagedListpublic void previous(Callback<List<T>> callback)
PagedListpublic ReadFilter getNextFilter()
public ReadFilter getPreviousFilter()
Copyright © 2014 JBoss by Red Hat. All rights reserved.