E
- public class ObservableList<E> extends ObservableCollection<E> implements List<E>
Modifier and Type | Field and Description |
---|---|
protected List<E> |
l |
col, eventListeners
Constructor and Description |
---|
ObservableList(List<E> list) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
void |
clear() |
E |
get(int index) |
List<E> |
getList()
Returns the wrapped List instance.
|
int |
indexOf(Object o) |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
E |
set(int index,
E element) |
List<E> |
subList(int fromIndex,
int toIndex) |
add, addCollectionListener, contains, containsAll, isEmpty, iterator, notifyPostAdd, notifyPostRemove, notifyPreAdd, notifyPreRemove, remove, removeAll, removeCollectionListener, retainAll, size, toArray, toArray
public boolean addAll(int index, Collection<? extends E> c)
public boolean addAll(Collection<? extends E> c)
addAll
in interface Collection<E>
addAll
in interface List<E>
addAll
in class ObservableCollection<E>
public void clear()
clear
in interface Collection<E>
clear
in interface List<E>
clear
in class ObservableCollection<E>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<E>
public ListIterator<E> listIterator()
listIterator
in interface List<E>
public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.