E - The type of the elements in this setpublic class DelegateListenerSet<E> extends DelegateSet<E>
| Constructor and Description |
|---|
DelegateListenerSet(java.util.Set<E> delegate,
java.util.function.Consumer<E> addListener,
java.util.function.Consumer<E> removeListener) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
boolean |
addAll(java.util.Collection<? extends E> c) |
void |
clear() |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
contains, containsAll, isEmpty, size, toArray, toArray@Nonnull public java.util.Iterator<E> iterator()
public boolean add(E e)
add in interface java.util.Collection<E>add in interface java.util.Set<E>add in class DelegateSet<E>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E>remove in interface java.util.Set<E>remove in class DelegateSet<E>public boolean addAll(@Nonnull
java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>addAll in interface java.util.Set<E>addAll in class DelegateSet<E>public boolean retainAll(@Nonnull
java.util.Collection<?> c)
retainAll in interface java.util.Collection<E>retainAll in interface java.util.Set<E>retainAll in class DelegateSet<E>public boolean removeAll(@Nonnull
java.util.Collection<?> c)
removeAll in interface java.util.Collection<E>removeAll in interface java.util.Set<E>removeAll in class DelegateSet<E>public void clear()
clear in interface java.util.Collection<E>clear in interface java.util.Set<E>clear in class DelegateSet<E>