All Downloads are FREE. Search and download functionalities are using the official Maven repository.

model.IsolateResult Maven / Gradle / Ivy

package model;

import nodes.AbstractFunction;
import nodes.j.Variable;

import java.util.HashSet;
import java.util.Set;

public class IsolateResult {

    private Set isolatedFunctions;
    private Set isolatedVariables;

    public IsolateResult() {
        this.isolatedFunctions = new HashSet<>();
        this.isolatedVariables = new HashSet<>();
    }

    public boolean addFunction(AbstractFunction function) {
        return isolatedFunctions.add(function);
    }

    public boolean addVariable(Variable variable) {
        return isolatedVariables.add(variable);
    }

    public Set getIsolatedFunctions() {
        return isolatedFunctions;
    }

    public Set getIsolatedVariables() {
        return isolatedVariables;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy