dsto.dfc.collections
Class EmptyMonitoredCollection
java.lang.Object
dsto.dfc.collections.EmptyCollection
dsto.dfc.collections.EmptyMonitoredCollection
- All Implemented Interfaces:
- MonitoredCollection, Copyable, Singleton, Serializable, Cloneable, Iterable, Collection
public class EmptyMonitoredCollection
- extends EmptyCollection
- implements MonitoredCollection, Copyable, Serializable
- See Also:
- Serialized Form
Methods inherited from class dsto.dfc.collections.EmptyCollection |
add, addAll, clear, contains, containsAll, equals, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
EMPTY_INSTANCE
public static final EmptyMonitoredCollection EMPTY_INSTANCE
addCollectionListener
public void addCollectionListener(CollectionListener l)
- Specified by:
addCollectionListener
in interface MonitoredCollection
removeCollectionListener
public void removeCollectionListener(CollectionListener l)
- Specified by:
removeCollectionListener
in interface MonitoredCollection
clone
public Object clone()
- Description copied from interface:
Copyable
- Create a completely separate copy of this object and any mutable
objects owned by the object.
NOTE: subclasses should not remove the CloneNotSupportedException
throws clause if they themselves support subclassing:
removing the CloneNotSupportedException declaration stops
subclasses from indicating that a clone was not possible.
- Specified by:
clone
in interface Copyable
- Overrides:
clone
in class EmptyCollection
Copyright © 2008 Commonwealth of Australia