net.infonode.util.collection.notifymap
Class AbstractConstChangeNotifyMap

java.lang.Object
  extended by net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap
All Implemented Interfaces:
ConstCollection, ConstMap, ConstChangeNotifyMap
Direct Known Subclasses:
AbstractChangeNotifyMap, ConstChangeNotifyVectorMap, PropertyMapImpl.PropertyObjectMap

public abstract class AbstractConstChangeNotifyMap
extends java.lang.Object
implements ConstChangeNotifyMap


Field Summary
private  Signal changeSignal
           
 
Constructor Summary
AbstractConstChangeNotifyMap()
           
 
Method Summary
protected  void fireEntriesChanged(ConstMap changes)
           
protected  void fireEntryChanged(java.lang.Object key, java.lang.Object oldValue, java.lang.Object newValue)
           
protected  void fireEntryRemoved(java.lang.Object key, java.lang.Object value)
           
protected  void firstListenerAdded()
           
 SignalHook getChangeSignal()
           
protected  Signal getChangeSignalInternal()
           
protected  void lastListenerRemoved()
           
protected  void listenerAdded()
           
protected  void listenerRemoved()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.infonode.util.collection.map.base.ConstMap
constIterator, containsKey, containsValue, get
 
Methods inherited from interface net.infonode.util.collection.ConstCollection
isEmpty
 

Field Detail

changeSignal

private Signal changeSignal
Constructor Detail

AbstractConstChangeNotifyMap

public AbstractConstChangeNotifyMap()
Method Detail

firstListenerAdded

protected void firstListenerAdded()

lastListenerRemoved

protected void lastListenerRemoved()

listenerRemoved

protected void listenerRemoved()

listenerAdded

protected void listenerAdded()

getChangeSignal

public SignalHook getChangeSignal()
Specified by:
getChangeSignal in interface ConstChangeNotifyMap

getChangeSignalInternal

protected Signal getChangeSignalInternal()

fireEntryRemoved

protected void fireEntryRemoved(java.lang.Object key,
                                java.lang.Object value)

fireEntryChanged

protected void fireEntryChanged(java.lang.Object key,
                                java.lang.Object oldValue,
                                java.lang.Object newValue)

fireEntriesChanged

protected void fireEntriesChanged(ConstMap changes)