view src/main/java/christie/test/StartTest.java @ 9:50a2df302920

minor change
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Thu, 28 Dec 2017 19:38:02 +0900
parents efaa7ad906b3
children 4b608ce0c483
line wrap: on
line source

package christie.test;

import christie.codegear.CodeGearManager;
import christie.codegear.StartCodeGear;

import java.util.HashMap;

public class StartTest extends StartCodeGear{


    public static void main(String args[]){
        StartTest start = new StartTest();
        CodeGearManager cgm = start.createCGM("first");
        cgm.setup(start);
    }

    @Override
    protected void run(CodeGearManager cgm) {
        TestCodeGear cg = new TestCodeGear();
        cgm.setup(cg);

        localDGM.put("hoge", "hogehogehoge");

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

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