Class HashMapAssemblyAllocationLookup<AllocationType>
java.lang.Object
de.uka.ipd.sdq.simucomframework.resources.HashMapAssemblyAllocationLookup<AllocationType>
- All Implemented Interfaces:
IAssemblyAllocationLookup<AllocationType>
public class HashMapAssemblyAllocationLookup<AllocationType>
extends Object
implements IAssemblyAllocationLookup<AllocationType>
Provides a simple implementation of the interface based on HashMap. The
HashMap itself needs to be kept externally in order to provide editing
support.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllocatedEntity
(String assemblyContextId) Get the entity to which the assembly context identified by the provided ID is allocated to.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup
getAllocatedEntity, getAllocatedEntity
-
Field Details
-
internalMap
-
-
Constructor Details
-
HashMapAssemblyAllocationLookup
-
-
Method Details
-
getAllocatedEntity
Get the entity to which the assembly context identified by the provided ID is allocated to.- Specified by:
getAllocatedEntity
in interfaceIAssemblyAllocationLookup<AllocationType>
- Parameters:
assemblyContextId
- The UUID of the assembly context- Returns:
- the entity
-