Class DependencyUtils
java.lang.Object
org.palladiosimulator.retriever.extraction.commonalities.DependencyUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends OperationInterface>
Map<OperationInterface,List<OperationInterface>> groupDependencies
(Collection<T> dependencies, Collection<OperationInterface> allDependencies) Group all dependencies independencies
by finding their common ancestors.
-
Method Details
-
groupDependencies
public static <T extends OperationInterface> Map<OperationInterface,List<OperationInterface>> groupDependencies(Collection<T> dependencies, Collection<OperationInterface> allDependencies) Group all dependencies independencies
by finding their common ancestors. Ensure that no other dependency (not independencies
, but inallDependencies
) is included into a group by accident.- Type Parameters:
T
- only for ease of calling
-