view src/main/java/christie/test/StartTest.java @ 6:3dcfe63d6394

set type to DataGear by Annotation
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Wed, 27 Dec 2017 00:06:50 +0900
parents 5be6647b87d2
children 21372a589bd3
line wrap: on
line source

package christie.test;

import christie.codegear.StartCodeGear;

import java.util.HashMap;

public class StartTest extends StartCodeGear{

    public static void main(String args[]){
        new StartTest().execute();
    }

    @Override
    public void run() {
        TestCodeGear test = new TestCodeGear(createCGM("first"));
        test.execute();
        test.dgm.put("hoge", "hogehogehoge");

        int array[][] = {{1},{2},{3},{4}};
        test.dgm.put("huga", array);

        HashMap<String, Integer> piyo= new HashMap<>();
        piyo.put("piyoyo", 100);
        test.dgm.put("piyo", piyo);
    }
}