Mercurial > hg > Papers > 2022 > riono-master
annotate 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 |
rev | line source |
---|---|
13 | 1 public class StartCGExample extends StartCodeGear { |
2 public StartCGExample(CodeGearManager cgm) { super(cgm); } | |
3 | |
4 public static void main(String args[]) { | |
14 | 5 StartCGExample start = StartCGExample(createCGM(10001)); |
6 } | |
7 | |
8 @Override | |
9 protected void run(CodeGearManager cgm) { | |
13 | 10 cgm.setup(new CodeGearExample()); |
11 CountObject count = new CountObject(1); | |
14 | 12 put("count", count); |
13 | 13 } |
14 } |