public class InfiniteDataCache<T> extends ArrayList<T>
InfiniteDataView, supports asynchronous calls
expecting that InfiniteDataView.loaded(int, List, int, boolean) is called when ready.
InfiniteDataView.loaded(int, List, int, boolean) is not called
the data will not be populated.modCount| Constructor and Description |
|---|
InfiniteDataCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCache(int startIndex,
List<T> data) |
List<T> |
getCache(int startIndex,
int viewSize) |
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, waitcontainsAll, equals, hashCodeparallelStream, streamCopyright © 2018. All rights reserved.