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
-
-
Field Summary
Fields Modifier and Type Field Description private booleanlistenerActive
-
Constructor Summary
Constructors Constructor Description PropertyObjectMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddInheritedReferences()booleancheckListeners(java.util.Set visited)ConstMapIteratorconstIterator()Returns an iterator for this map.booleancontainsKey(java.lang.Object key)Returns true if this map contains the key.booleancontainsValue(java.lang.Object value)Returns true if this map contains the value.protected voidfireEntriesChanged(ConstMap changes)java.lang.Objectget(java.lang.Object key)Returns the value associated with the key.booleanisEmpty()Returns true if this collection is empty.protected voidlastListenerRemoved()protected voidlistenerAdded()private voidremoveInheritedReferences()voidsignalEmitted(Signal signal, java.lang.Object object)voidupdateListeners()-
Methods inherited from class net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap
fireEntryChanged, fireEntryRemoved, firstListenerAdded, getChangeSignal, getChangeSignalInternal, listenerRemoved
-
-
-
-
Method Detail
-
listenerAdded
protected void listenerAdded()
- Overrides:
listenerAddedin classAbstractConstChangeNotifyMap
-
signalEmitted
public void signalEmitted(Signal signal, java.lang.Object object)
- Specified by:
signalEmittedin interfaceSignalListener
-
lastListenerRemoved
protected void lastListenerRemoved()
- Overrides:
lastListenerRemovedin classAbstractConstChangeNotifyMap
-
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:ConstMapReturns the value associated with the key.
-
containsKey
public boolean containsKey(java.lang.Object key)
Description copied from interface:ConstMapReturns true if this map contains the key.- Specified by:
containsKeyin interfaceConstMap- Parameters:
key- the key- Returns:
- true if this map contains the key
-
containsValue
public boolean containsValue(java.lang.Object value)
Description copied from interface:ConstMapReturns true if this map contains the value.- Specified by:
containsValuein interfaceConstMap- Parameters:
value- the value- Returns:
- true if this map contains the value
-
isEmpty
public boolean isEmpty()
Description copied from interface:ConstCollectionReturns true if this collection is empty.- Specified by:
isEmptyin interfaceConstCollection- Returns:
- true if this collection is empty
-
constIterator
public ConstMapIterator constIterator()
Description copied from interface:ConstMapReturns an iterator for this map.- Specified by:
constIteratorin interfaceConstMap- Returns:
- an iterator for this map
-
fireEntriesChanged
protected void fireEntriesChanged(ConstMap changes)
- Overrides:
fireEntriesChangedin classAbstractConstChangeNotifyMap
-
-