1
2
3
4
5
6
7
8
9
10
11 package nl.tudelft.simulation.dsol.interpreter;
12
13 import nl.tudelft.simulation.dsol.interpreter.Interpreter;
14
15 /***
16 * <p>
17 * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
18 * University of Technology </a>, the Netherlands. <br>
19 * See for project information <a
20 * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
21 * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
22 * License (GPL) </a>, no warranty <br>
23 *
24 * @author <a href="http://www.simulation.tudelft.nl/people/jacobs.html">Peter
25 * Jacobs </a>
26 * @version 1.2 Mar 31, 2004
27 * @since 1.4
28 */
29 public class InterpreterTest
30 {
31 /***
32 * constructs a new InterpreterTest
33 */
34 public InterpreterTest()
35 {
36 super();
37
38 }
39
40 /***
41 * executes the application
42 *
43 * @param args the commandline arguments
44 */
45 public static void main(final String[] args)
46 {
47 try
48 {
49 Interpreter.invoke(System.out, "println", new Object[]{"Peter"},
50 new Class[]{String.class});
51
52 } catch (Exception exception)
53 {
54 exception.printStackTrace();
55 }
56 }
57 }