Class GroupConstitution
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<AddressInterface,ProcessInterface>
utils.communication.groupConstitution.GroupConstitution
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<AddressInterface,
ProcessInterface>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionGroupConstitution
(int initialCapacity) GroupConstitution
(int initialCapacity, float loadFactor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEach
(BiConsumer<? super AddressInterface, ? super ProcessInterface> action) void
lock()
put
(AddressInterface key, ProcessInterface value) void
unlock()
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, getOrDefault, isEmpty, keySet, merge, newHashMap, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
GroupConstitution
public GroupConstitution(int initialCapacity, float loadFactor) -
GroupConstitution
public GroupConstitution(int initialCapacity) -
GroupConstitution
public GroupConstitution() -
GroupConstitution
-
-
Method Details
-
put
- Specified by:
put
in interfaceMap<AddressInterface,
ProcessInterface> - Overrides:
put
in classHashMap<AddressInterface,
ProcessInterface>
-
get
- Specified by:
get
in interfaceMap<AddressInterface,
ProcessInterface> - Overrides:
get
in classHashMap<AddressInterface,
ProcessInterface>
-
lock
public void lock() -
unlock
public void unlock() -
forEach
- Specified by:
forEach
in interfaceMap<AddressInterface,
ProcessInterface> - Overrides:
forEach
in classHashMap<AddressInterface,
ProcessInterface>
-