dsto.dfc.collections
Class EmptyMonitoredCollection

java.lang.Object
  extended by dsto.dfc.collections.EmptyCollection
      extended by 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

Field Summary
static EmptyMonitoredCollection EMPTY_INSTANCE
           
 
Fields inherited from class dsto.dfc.collections.EmptyCollection
INSTANCE
 
Method Summary
 void addCollectionListener(CollectionListener l)
           
 Object clone()
          Create a completely separate copy of this object and any mutable objects owned by the object.
 void removeCollectionListener(CollectionListener l)
           
 
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 class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

EMPTY_INSTANCE

public static final EmptyMonitoredCollection EMPTY_INSTANCE
Method Detail

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