Add not-yet-working getOrder method

This commit is contained in:
JeremyStar™ 2024-07-08 14:28:55 +02:00
parent c91a2151e9
commit ba2e6ebecd
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -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;
}
}