Package jadex.bdi.runtime.wrappers
Class MapWrapper<T,E>
java.lang.Object
jadex.collection.MapWrapper<T,E>
jadex.bdi.runtime.wrappers.MapWrapper<T,E>
- All Implemented Interfaces:
Map<T,
E>
public class MapWrapper<T,E>
extends jadex.collection.MapWrapper<T,E>
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class jadex.collection.MapWrapper
delegate
-
Constructor Summary
ConstructorsConstructorDescriptionMapWrapper
(Map<T, E> delegate, jadex.core.IComponent agent, jadex.rules.eca.EventType addevent, jadex.rules.eca.EventType remevent, jadex.rules.eca.EventType changeevent, MElement mbel) Create a new set wrapper. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
entryAdded
(T key, E value) An entry was added to the map.protected void
entryChanged
(T key, E oldvalue, E newvalue) An entry was changed in the map.protected void
entryRemoved
(T key, E value) An entry was removed from the map.boolean
void
setAgent
(jadex.core.IComponent agent) Methods inherited from class jadex.collection.MapWrapper
clear, containsKey, containsValue, entriesAdded, entriesRemoved, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
publisher
The event publisher.
-
-
Constructor Details
-
Method Details
-
setAgent
public void setAgent(jadex.core.IComponent agent) -
isInitWrite
public boolean isInitWrite() -
entryAdded
An entry was added to the map. -
entryRemoved
An entry was removed from the map. -
entryChanged
An entry was changed in the map.
-