SOURCE - the source typeVIEW - the view typepublic abstract class ListView<SOURCE,VIEW>
extends java.util.AbstractList<VIEW>
ViewProvider implementation. Changes to the view list are reflected within the source list and vice versa.| Constructor and Description |
|---|
ListView() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
VIEW element) |
boolean |
add(VIEW e) |
void |
clear() |
VIEW |
get(int index) |
protected abstract java.util.List<SOURCE> |
getDelegate() |
protected abstract ViewProvider<SOURCE,VIEW> |
getViewProvider() |
java.util.Iterator<VIEW> |
iterator() |
java.util.ListIterator<VIEW> |
listIterator() |
java.util.ListIterator<VIEW> |
listIterator(int index) |
VIEW |
remove(int index) |
VIEW |
set(int index,
VIEW element) |
int |
size() |
addAll, equals, hashCode, indexOf, lastIndexOf, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected abstract java.util.List<SOURCE> getDelegate()
protected abstract ViewProvider<SOURCE,VIEW> getViewProvider()
public VIEW get(int index)
public int size()
public boolean add(VIEW e)
public void add(int index,
VIEW element)
public VIEW remove(int index)
public void clear()
public java.util.Iterator<VIEW> iterator()
public java.util.ListIterator<VIEW> listIterator()
Copyright © 2015. All Rights Reserved.