simtools.data
Class DataSourcePool.NotifySet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet
simtools.data.DataSourcePool.NotifySet
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set
- Enclosing class:
- DataSourcePool
protected class DataSourcePool.NotifySet
- extends java.util.HashSet
A specific set that notifies the listeners when it changes See HashSet,
this implementation is not synchronized.
- See Also:
- Serialized Form
Method Summary |
boolean |
add(java.lang.Object o)
|
boolean |
remove(java.lang.Object o)
|
Methods inherited from class java.util.HashSet |
clear, clone, contains, isEmpty, iterator, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
DataSourcePool.NotifySet
protected DataSourcePool.NotifySet()
add
public boolean add(java.lang.Object o)
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.Set
- Overrides:
add
in class java.util.HashSet
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection
- Specified by:
remove
in interface java.util.Set
- Overrides:
remove
in class java.util.HashSet