public class LazyListWithLoader<E> extends LazyList<E>
Modifier and Type | Class and Description |
---|---|
static interface |
LazyListWithLoader.Loader<E> |
Constructor and Description |
---|
LazyListWithLoader(LazyListWithLoader.Loader<E> loader) |
Modifier and Type | Method and Description |
---|---|
protected int |
calculateSize()
Implement this method to calculate the total size of this list.
|
protected void |
fillChunk(int start,
int length)
Implement this method to load a range of lazy loaded objects.
|
LazyListWithLoader.Loader<E> |
getLoader() |
get, getGrowFactor, getShrinkThreshold, set, setChunkParams, setGrowFactor, setShrinkThreshold, setSize, size
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public LazyListWithLoader(LazyListWithLoader.Loader<E> loader)
public LazyListWithLoader.Loader<E> getLoader()
protected int calculateSize()
LazyList
calculateSize
in class LazyList<E>
protected void fillChunk(int start, int length)
LazyList
set(int i, Object o)
method to set a
loaded object.© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.