Package org.djutils.eval
Class EvalDemo
java.lang.Object
org.djutils.eval.EvalDemo
EvalDemo.java.
Copyright (c) 2023-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EvalDemo
public EvalDemo()
-
-
Method Details
-
main
Demonstrate the eval package.- Parameters:
args
- the command line arguments (not used)
-
run
Evaluate an expression and print the result. Does not use a value pool.- Parameters:
expression
- the expression
-
run
Evaluate an expression and print the result.- Parameters:
expression
- the expressionvaluePool
- the value pool (may be null
-