net.infonode.properties.propertymap
Class PropertyMapImpl.PropertyObjectMap
java.lang.Object
net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap
net.infonode.properties.propertymap.PropertyMapImpl.PropertyObjectMap
- All Implemented Interfaces:
- ConstCollection, ConstMap, ConstChangeNotifyMap, SignalListener
- Enclosing class:
- PropertyMapImpl
private class PropertyMapImpl.PropertyObjectMap
- extends AbstractConstChangeNotifyMap
- implements SignalListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listenerActive
private boolean listenerActive
PropertyMapImpl.PropertyObjectMap
PropertyMapImpl.PropertyObjectMap()
listenerAdded
protected void listenerAdded()
- Overrides:
listenerAdded
in class AbstractConstChangeNotifyMap
signalEmitted
public void signalEmitted(Signal signal,
java.lang.Object object)
- Specified by:
signalEmitted
in interface SignalListener
lastListenerRemoved
protected void lastListenerRemoved()
- Overrides:
lastListenerRemoved
in class AbstractConstChangeNotifyMap
checkListeners
public boolean checkListeners(java.util.Set visited)
updateListeners
public void updateListeners()
addInheritedReferences
private void addInheritedReferences()
removeInheritedReferences
private void removeInheritedReferences()
get
public java.lang.Object get(java.lang.Object key)
- Description copied from interface:
ConstMap
- Returns the value associated with the key.
- Specified by:
get
in interface ConstMap
- Parameters:
key
- the key
- Returns:
- the value associated with the key, null if no value is associated with the key
containsKey
public boolean containsKey(java.lang.Object key)
- Description copied from interface:
ConstMap
- Returns true if this map contains the key.
- Specified by:
containsKey
in interface ConstMap
- Parameters:
key
- the key
- Returns:
- true if this map contains the key
containsValue
public boolean containsValue(java.lang.Object value)
- Description copied from interface:
ConstMap
- Returns true if this map contains the value.
- Specified by:
containsValue
in interface ConstMap
- Parameters:
value
- the value
- Returns:
- true if this map contains the value
isEmpty
public boolean isEmpty()
- Description copied from interface:
ConstCollection
- Returns true if this collection is empty.
- Specified by:
isEmpty
in interface ConstCollection
- Returns:
- true if this collection is empty
constIterator
public ConstMapIterator constIterator()
- Description copied from interface:
ConstMap
- Returns an iterator for this map.
- Specified by:
constIterator
in interface ConstMap
- Returns:
- an iterator for this map
fireEntriesChanged
protected void fireEntriesChanged(ConstMap changes)
- Overrides:
fireEntriesChanged
in class AbstractConstChangeNotifyMap