public abstract class RequirementSolver
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends RequirementHolder> |
solve(java.util.Collection<T> elements)
Sorts the given list of requirements in a manner that honors the given relationships.
|
static java.util.List<java.util.List<? extends RequirementHolder>> |
solveParallel(java.util.Collection<? extends RequirementHolder> elements)
return a list of list's with tasks that contains either one RequirementHolder or multiple one's, if they can be
processed together at a time (which means they have no dependencies between each other) This can be used for
parallel computing..
|
public static java.util.List<java.util.List<? extends RequirementHolder>> solveParallel(java.util.Collection<? extends RequirementHolder> elements) throws RequirementSolverException
RequirementSolverExceptionpublic static <T extends RequirementHolder> java.util.List<T> solve(java.util.Collection<T> elements) throws RequirementSolverException
elements - a list of RequirementHolders (e.g.: ExtensionInfo)RequirementSolverException - if there are cycles detected.Copyright © 2018 SAP SE. All Rights Reserved.