public class ObservableSet<E> extends Object implements Set<E>
| Modifier and Type | Field and Description |
|---|---|
protected CollectionChangeSupport |
ccs |
| Constructor and Description |
|---|
ObservableSet(Set<E> set) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E element) |
boolean |
addAll(Collection<? extends E> elements) |
void |
addCollectionChangeListener(CollectionChangeListener listener) |
void |
clear() |
boolean |
contains(Object element) |
boolean |
containsAll(Collection<?> collection) |
protected Set<E> |
getWrappedList() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
remove(Object element) |
boolean |
removeAll(Collection<?> collection) |
void |
removeCollectionChangeListener(CollectionChangeListener listener) |
boolean |
retainAll(Collection<?> collection) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
protected CollectionChangeSupport ccs
public ObservableSet(Set<E> set)
protected Set<E> getWrappedList()
public void addCollectionChangeListener(CollectionChangeListener listener)
public void removeCollectionChangeListener(CollectionChangeListener listener)
public boolean addAll(Collection<? extends E> elements)
public boolean removeAll(Collection<?> collection)
public boolean retainAll(Collection<?> collection)
public void clear()
public boolean containsAll(Collection<?> collection)
containsAll in interface Collection<E>containsAll in interface Set<E>public boolean isEmpty()
public int size()
public <T> T[] toArray(T[] array)