Commit 1ea17b77 authored by David Novak's avatar David Novak
Browse files

* test

parent 967a2867
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

import java.util.HashMap;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;
import javax.script.ScriptEngineManager;
import javax.script.ScriptEngine;

public class TestMain {

    public static void main(String[] args) throws Exception {
        ScriptEngineManager mgr = new ScriptEngineManager();
        ScriptEngine engine = mgr.getEngineByName("JavaScript");
        String foo = "Math.max(222, 2*(40+2))";
        System.out.println(engine.eval(foo));

        String [] [] tmp = new String [10] [10];
        
        //SortedMap<String, SortedMap<String, SortedMap<Integer, String>>> table = new TreeMap<>();
        //table.put("row_key", new HashMap)
        
    }
}