graph.core.AbstractGraphAlgorithm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of astra-compiler Show documentation
Show all versions of astra-compiler Show documentation
Core compiler artifact for the ASTRA Language
The newest version!
package graph.core;
import graph.util.LinkedList;
import graph.util.List;
public abstract class AbstractGraphAlgorithm implements GraphAlgorithm {
protected List parameterList;
public AbstractGraphAlgorithm() {
parameterList = new LinkedList();
}
public List parameterList() {
return parameterList;
}
protected void addParameter(Parameter parameter) {
parameterList.insertLast(parameter);
}
}