
jason.stdlib.set.difference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jason Show documentation
Show all versions of jason Show documentation
Jason is a programming language to develop BDI/cognitive agents
The newest version!
package jason.stdlib.set;
import java.util.Collection;
import jason.asSemantics.InternalAction;
import jason.asSemantics.TransitionSystem;
import jason.asSemantics.Unifier;
import jason.asSyntax.Term;
public class difference extends add {
private static InternalAction singleton = null;
public static InternalAction create() {
if (singleton == null)
singleton = new difference();
return singleton;
}
@Override
public Object execute(TransitionSystem ts, Unifier un, Term[] args) throws Exception {
getSet(un,args).difference((Collection)args[1]);
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy