示例代码:
import org.javia.arity.Symbols; import org.javia.arity.SyntaxException;
public class TryArity { public static void main(String args[]) throws SyntaxException { Symbols symbols = new Symbols(); double value = symbols.eval(“2^10”); } }