view Paper/src/StartCGExample.java @ 14:d76af2a472b9

update Christie chapter
author riono <e165729@ie.u-ryukyu.ac.jp>
date Thu, 27 Jan 2022 02:00:35 +0900
parents e40d7a603b3f
children
line wrap: on
line source

public class StartCGExample extends StartCodeGear {
    public StartCGExample(CodeGearManager cgm) { super(cgm); }

    public static void main(String args[]) {
        StartCGExample start = StartCGExample(createCGM(10001));
    }
    
    @Override
    protected void run(CodeGearManager cgm) {
        cgm.setup(new CodeGearExample());
        CountObject count = new CountObject(1);
        put("count", count);
    }
}