forked from StarOpenSource/Engine
Add not-yet-working getOrder method
This commit is contained in:
parent
c91a2151e9
commit
ba2e6ebecd
1 changed files with 14 additions and 0 deletions
|
@ -22,6 +22,8 @@ package de.staropensource.sosengine.base.utility;
|
|||
import de.staropensource.sosengine.base.exceptions.UnexpectedThrowableException;
|
||||
import de.staropensource.sosengine.base.exceptions.UnmetDependenciesException;
|
||||
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
|
||||
import de.staropensource.sosengine.base.types.immutable.ImmutableArrayList;
|
||||
import de.staropensource.sosengine.base.types.immutable.ImmutableLinkedList;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.*;
|
||||
|
@ -216,4 +218,16 @@ public final class DependencyResolver {
|
|||
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the correct order which stuff needs to be loaded/done in.
|
||||
*
|
||||
* @return {@link LinkedList} with dependencies first and dependents last
|
||||
* @since 1-alpha1
|
||||
*/
|
||||
public LinkedList<DependencyVector> getOrder() {
|
||||
LinkedList<DependencyVector> list = new LinkedList<>();
|
||||
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue