public interface SetDelegate<E> extends Set<E>
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(SetDelegateEventListener<E> listener)
Adds the specified listener to the set which will be notified whenever the entries in the set are changed.
|
void |
close()
Closes the set.
|
void |
removeListener(SetDelegateEventListener<E> listener)
Removes the specified listener from the set such that it will no longer receive change notifications.
|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streamvoid addListener(SetDelegateEventListener<E> listener)
listener - listener to register for eventsvoid removeListener(SetDelegateEventListener<E> listener)
listener - listener to deregister for eventsvoid close()
Copyright © 2013–2018. All rights reserved.