A ListModel
implementation that's backed by a live List
.
Constructor and description |
---|
ListWrapperListModel
(List<E> delegateList) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
add(int i, E e) |
|
boolean |
add(E e) |
|
boolean |
addAll(Collection<? extends E> es) |
|
boolean |
addAll(int i, Collection<? extends E> es) |
|
void |
clear() |
|
boolean |
contains(Object o) |
|
boolean |
containsAll(Collection<?> objects) |
|
E |
get(int i) |
|
List<E> |
getDelegateList() |
|
Object |
getElementAt(int i) |
|
int |
getSize() |
|
int |
indexOf(Object o) |
|
boolean |
isEmpty() |
|
Iterator<E> |
iterator() |
|
int |
lastIndexOf(Object o) |
|
ListIterator<E> |
listIterator() |
|
ListIterator<E> |
listIterator(int i) |
|
E |
remove(int i) |
|
boolean |
remove(Object o) |
|
void |
removeRange(int fromIndex, int toIndex) |
|
E |
set(int i, E e) |
|
T[] |
toArray(T[] ts) |
|
Object[] |
toArray() |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.