Mercurial > hg > Database > jungle-network
view src/jungle/test/codesegment/local/HasFieldCodeSegment.java @ 61:e871e8fc3f69
added aliceInstall.sh
author | one |
---|---|
date | Mon, 15 Jul 2013 18:26:10 +0900 |
parents | |
children |
line wrap: on
line source
package jungle.test.codesegment.local; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class HasFieldCodeSegment extends CodeSegment { Receiver arg1 = ids.create(CommandType.TAKE); String str; public HasFieldCodeSegment(String s) { str = s; } public void run() { int count = arg1.asInteger(); System.out.println("-HasFieldCodeSegment- : "+str); System.exit(0); } }