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

org.lsmp.djep.xjep.XVariableFactory Maven / Gradle / Ivy

Go to download

JEP is a Java library for parsing and evaluating mathematical expressions.

The newest version!
/* @author rich
 * Created on 28-Feb-2004
 */
package org.lsmp.djep.xjep;
import org.nfunk.jep.*;

/**
 * A VariableFactory which creates XVariables (which have equations).
 * 
 * @author Rich Morris
 * Created on 28-Feb-2004
 */
public class XVariableFactory extends VariableFactory {

	public Variable createVariable(String name, Object value) {
		return new XVariable(name,value);
	}

	public Variable createVariable(String name) {
		return new XVariable(name);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy