M
- public class BindableListWrapper<M> extends Object implements List<M>
Modifier and Type | Class and Description |
---|---|
class |
BindableListWrapper.BindableListIterator
Wraps an Iterator or ListIterator to notify change handlers of all operations that mutate the
underlying list.
|
Constructor and Description |
---|
BindableListWrapper(List<M> list) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
M element) |
boolean |
add(M element) |
boolean |
addAll(Collection<? extends M> c) |
boolean |
addAll(int index,
Collection<? extends M> c) |
void |
addChangeHandler(BindableListChangeHandler<M> handler) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
M |
get(int index) |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<M> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<M> |
listIterator() |
ListIterator<M> |
listIterator(int index) |
M |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
void |
removeChangeHandler(BindableListChangeHandler<M> handler) |
boolean |
retainAll(Collection<?> c) |
M |
set(int index,
M element) |
int |
size() |
List<M> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public boolean add(M element)
public boolean addAll(Collection<? extends M> c)
public boolean addAll(int index, Collection<? extends M> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<M>
containsAll
in interface List<M>
public boolean isEmpty()
public int lastIndexOf(Object o)
lastIndexOf
in interface List<M>
public ListIterator<M> listIterator()
listIterator
in interface List<M>
public ListIterator<M> listIterator(int index)
listIterator
in interface List<M>
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public void addChangeHandler(BindableListChangeHandler<M> handler)
public void removeChangeHandler(BindableListChangeHandler<M> handler)
public int hashCode()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.