Mercurial > hg > Papers > 2022 > ikki-master
view Paper/src/HelloWorldCodeGear.java @ 43:9067e6c32410 default tip
add backCover
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 28 Feb 2022 22:32:44 +0900 |
parents | e950b7aaeeaa |
children |
line wrap: on
line source
package christie.example.HelloWorld; import christie.annotation.Peek; import christie.annotation.Take; import christie.codegear.CodeGear; import christie.codegear.CodeGearManager; public class HelloWorldCodeGear extends CodeGear { \@Take String helloWorld; @Override protected void run(CodeGearManager cgm) { System.out.print(helloWorld + " "); cgm.setup(new HelloWorldCodeGear()); cgm.getLocalDGM().put(helloWorld,helloWorld); } }